Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002334/0.002333, allocations: 181.2 kB / 326.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.498/2.498, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 82.11 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 16.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001896/0.2232, allocations: 1.252 MB / 0.9007 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005797/0.2238, allocations: 240.2 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.2239, allocations: 0 / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.224, allocations: 7.922 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2241, allocations: 11.88 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.2243, allocations: 35.97 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.2244, allocations: 107.6 kB / 0.9011 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2246, allocations: 41.47 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.2247, allocations: 35.8 kB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.2248, allocations: 35.78 kB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.2248, allocations: 4 kB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.2248, allocations: 8 kB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.2249, allocations: 19.91 kB / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.2249, allocations: 45.64 kB / 0.9013 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2251, allocations: 79.81 kB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2251, allocations: 0 / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2251, allocations: 0 / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2251, allocations: 0 / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000813/0.2259, allocations: 439.3 kB / 0.9018 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.226, allocations: 8.031 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.226, allocations: 16.84 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2262, allocations: 189.8 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2262, allocations: 4.562 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.2263, allocations: 12.38 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2265, allocations: 97.72 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2265, allocations: 4 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2266, allocations: 4 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2266, allocations: 0 / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2268, allocations: 55.97 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/0.2275, allocations: 396.5 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.2277, allocations: 78.58 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.2278, allocations: 36.86 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2279, allocations: 0 / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.2281, allocations: 103.5 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 4.338e-06/0.2281, allocations: 0 / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0004217/0.2286, allocations: 159.3 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2286, allocations: 55.41 kB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.2288, allocations: 160.8 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2288, allocations: 29.7 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2289, allocations: 100 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.2289, allocations: 31.56 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.2289, allocations: 3.938 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.229, allocations: 330.8 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.2291, allocations: 27.98 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2292, allocations: 55.42 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.2293, allocations: 28 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2293, allocations: 0 / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002569/0.2296, allocations: 127.5 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2296, allocations: 9.562 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2296, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2297, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2298, allocations: 19.92 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2298, allocations: 7.938 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2301, allocations: 35.92 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2301, allocations: 4 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.2302, allocations: 137.6 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.2302, allocations: 11.81 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.2303, allocations: 16.84 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2303, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2303, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.2304, allocations: 92.94 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2304, allocations: 0 / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2306, allocations: 27.98 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.2307, allocations: 19.91 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004354/0.2312, allocations: 212.9 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002953/0.2315, allocations: 294.6 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001142/0.2316, allocations: 50.72 kB / 0.9047 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2317, allocations: 112.2 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.2317, allocations: 0 / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.2323, allocations: 134.3 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008108/0.2331, allocations: 0.6928 MB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.005418/0.2386, allocations: 1.371 MB / 0.907 GB, free: 57.48 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)