Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.393/1.393, allocations: 287.4 MB / 302.6 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 176.9 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.4 MB / 0.6298 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006655/0.0006655, allocations: 90.36 kB / 0.7431 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 10.62 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001244/0.1465, allocations: 1.438 MB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.1473, allocations: 0.743 MB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.1474, allocations: 4 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.742e-05/0.1475, allocations: 15.86 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.1476, allocations: 31.7 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1482, allocations: 344.5 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1484, allocations: 359.2 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1485, allocations: 56.3 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.1486, allocations: 143.6 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1487, allocations: 131.5 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.1488, allocations: 16 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.1489, allocations: 39.97 kB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.1489, allocations: 39.83 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.149, allocations: 77.62 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1491, allocations: 271.5 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1492, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1492, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1492, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004672/0.1496, allocations: 0.5615 MB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1497, allocations: 12.03 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1497, allocations: 54.72 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.1498, allocations: 32.66 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.1504, allocations: 313 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1504, allocations: 24.7 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.1505, allocations: 36.36 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1507, allocations: 176.5 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1507, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1507, allocations: 11.98 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1507, allocations: 4 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1509, allocations: 112.2 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1515, allocations: 0.5936 MB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1517, allocations: 202.4 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.1518, allocations: 84.81 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1519, allocations: 0 / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1521, allocations: 255.1 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.1521, allocations: 4 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.0005085/0.1527, allocations: 408.9 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.1527, allocations: 59.41 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.1528, allocations: 190.9 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.1528, allocations: 49.7 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1529, allocations: 136.8 kB / 0.9855 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.153, allocations: 86.88 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.153, allocations: 12 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.153, allocations: 342.8 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.1533, allocations: 145 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.1535, allocations: 276.9 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.1539, allocations: 418.5 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1539, allocations: 7.938 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006536/0.1545, allocations: 0.5839 MB / 0.9873 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.1546, allocations: 91.59 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1546, allocations: 4 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1546, allocations: 8 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1547, allocations: 48.22 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1547, allocations: 12 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.1552, allocations: 131.6 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1552, allocations: 35.98 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001129/0.1554, allocations: 182.9 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1554, allocations: 23.72 kB / 0.9878 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.1554, allocations: 26.64 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1554, allocations: 4 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1554, allocations: 0 / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1555, allocations: 0 / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.156, allocations: 0.7059 MB / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.156, allocations: 4 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1561, allocations: 19.92 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1561, allocations: 4 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1561, allocations: 11.98 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1561, allocations: 3.938 kB / 0.9886 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1561, allocations: 0 / 0.9886 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.1565, allocations: 422.8 kB / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.1565, allocations: 92.86 kB / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1566, allocations: 19.98 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.1567, allocations: 7.984 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1567, allocations: 24.06 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1567, allocations: 23.97 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.1568, allocations: 133.1 kB / 0.9893 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 0 / 0.9893 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002973/0.1571, allocations: 87.91 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005032/0.1576, allocations: 0.9839 MB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.1581, allocations: 0.5297 MB / 0.9909 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1581, allocations: 0 / 0.9909 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1583, allocations: 152.1 kB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1586, allocations: 47.78 kB / 0.9911 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1603, allocations: 1.568 MB / 0.9926 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.1604, allocations: 0.7448 MB / 0.9933 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.181e-05/0.1605, allocations: 34.97 kB / 0.9933 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.1606, allocations: 71.41 kB / 0.9934 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.1606, allocations: 0 / 0.9934 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5337/0.6943, allocations: 5.501 MB / 0.9988 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.6945, allocations: 193.2 kB / 0.999 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.43, allocations: 5.75 kB / 0.999 GB, free: 6.793 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)