Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 197.3 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 271.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 99.88 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.14, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002912/0.1429, allocations: 1.454 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.1437, allocations: 441 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.1437, allocations: 0 / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1438, allocations: 7.875 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.1439, allocations: 8.5 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.144, allocations: 31.89 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.1441, allocations: 43.92 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.1442, allocations: 12.27 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.1443, allocations: 23.86 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.1444, allocations: 23.92 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1444, allocations: 4 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.1444, allocations: 4 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.1444, allocations: 15.91 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1445, allocations: 23.94 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.1446, allocations: 51.75 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1446, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1446, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1446, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004561/0.1451, allocations: 355.4 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1451, allocations: 12.03 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1451, allocations: 34.75 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1452, allocations: 8.844 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1453, allocations: 168.4 kB / 0.6829 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1454, allocations: 12.31 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1454, allocations: 4.375 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1455, allocations: 57.81 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1455, allocations: 3.984 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1455, allocations: 0 / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1455, allocations: 0 / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.1456, allocations: 27.98 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.146, allocations: 304.6 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1462, allocations: 54.59 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1462, allocations: 24.91 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.1462, allocations: 4 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1464, allocations: 79.36 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.1464, allocations: 0 / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002826/0.1467, allocations: 97.61 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1468, allocations: 51.41 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.1469, allocations: 109.8 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1469, allocations: 29.7 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.1469, allocations: 84.14 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.147, allocations: 27.64 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.147, allocations: 29.66 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.1471, allocations: 326.8 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.1472, allocations: 20 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.1472, allocations: 47.36 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.1473, allocations: 67.59 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1473, allocations: 4 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.1475, allocations: 93.55 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1475, allocations: 8 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1475, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1475, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.1476, allocations: 8 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1476, allocations: 4 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1477, allocations: 15.89 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1477, allocations: 7.938 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/0.1478, allocations: 123.8 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1478, allocations: 0 / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.1478, allocations: 11.97 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1478, allocations: 3.984 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1479, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1479, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1483, allocations: 366.7 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1483, allocations: 0 / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.1483, allocations: 8 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1483, allocations: 96 / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1483, allocations: 7.938 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1483, allocations: 3.938 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1483, allocations: 3.938 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1485, allocations: 171.5 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1486, allocations: 89.08 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1486, allocations: 11.92 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.1487, allocations: 15.88 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1487, allocations: 7.984 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1487, allocations: 4 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.1488, allocations: 79.28 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1488, allocations: 0 / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000246/0.149, allocations: 16 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.1494, allocations: 0.7181 MB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1496, allocations: 60.02 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1496, allocations: 0 / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.336e-05/0.1497, allocations: 31.92 kB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.15, allocations: 14.27 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1513, allocations: 1.375 MB / 0.6875 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1516, allocations: 0.6846 MB / 0.6881 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.1516, allocations: 15.92 kB / 0.6882 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.1517, allocations: 23.38 kB / 0.6882 GB, free: 8.008 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1517, allocations: 0 / 0.6882 GB, free: 8.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1783, allocations: 1.738 MB / 0.6899 GB, free: 6.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/8.805, allocations: 10.5 kB / 0.6899 GB, free: 6.344 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)