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.006948/0.006948, allocations: 100.5 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 187 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002144, allocations: 275.1 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9609/0.9609, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 95.8 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002529/0.1505, allocations: 1.463 MB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.1512, allocations: 443.4 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1513, allocations: 4 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.1514, allocations: 3.938 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.1515, allocations: 7.922 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1516, allocations: 23.92 kB / 0.7677 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.1517, allocations: 47.91 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1518, allocations: 16.27 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.1519, allocations: 15.92 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.1519, allocations: 23.92 kB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.152, allocations: 4 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.152, allocations: 4 kB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.152, allocations: 15.86 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.1521, allocations: 23.92 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1522, allocations: 59.69 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1522, allocations: 0 / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1522, allocations: 0 / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1522, allocations: 0 / 0.7679 GB, free: 6.812 MB / 0.5606 GB 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.0004614/0.1527, allocations: 363.3 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1527, allocations: 8.031 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.1528, allocations: 38.73 kB / 0.7683 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.1528, allocations: 4.938 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1529, allocations: 164.4 kB / 0.7685 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1529, allocations: 4.375 kB / 0.7685 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.153, allocations: 12.31 kB / 0.7685 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1531, allocations: 61.8 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1531, allocations: 0 / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.1531, allocations: 0 / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1531, allocations: 0 / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.1532, allocations: 31.97 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1536, allocations: 304.6 kB / 0.7689 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1537, allocations: 54.56 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.1538, allocations: 20.95 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1538, allocations: 0 / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.154, allocations: 75.41 kB / 0.769 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.154, allocations: 4 kB / 0.769 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002147/0.1542, allocations: 105.8 kB / 0.7691 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.1542, allocations: 55.41 kB / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.1543, allocations: 101.8 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1543, allocations: 33.8 kB / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1544, allocations: 91.97 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1544, allocations: 23.69 kB / 0.7694 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1545, allocations: 29.7 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.1546, allocations: 326.8 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.1546, allocations: 15.98 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.912e-05/0.1547, allocations: 43.42 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.1547, allocations: 67.38 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1548, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/0.1549, allocations: 101.5 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1549, allocations: 9.875 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1549, allocations: 0 / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1549, allocations: 4 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.155, allocations: 11.98 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.155, allocations: 0 / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.1551, allocations: 8 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1551, allocations: 7.938 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB 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 7.942e-05/0.1552, allocations: 126.7 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.1552, allocations: 11.94 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1553, allocations: 8.25 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1553, allocations: 0 / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1553, allocations: 0 / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.1553, allocations: 7.984 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1557, allocations: 358.4 kB / 0.7705 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1557, allocations: 0 / 0.7705 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1557, allocations: 7.984 kB / 0.7705 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1557, allocations: 0 / 0.7705 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1557, allocations: 4 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1558, allocations: 3.938 kB / 0.7705 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1558, allocations: 0 / 0.7705 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1559, allocations: 187.4 kB / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.156, allocations: 85.05 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.156, allocations: 4 kB / 0.7708 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.1561, allocations: 11.98 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1561, allocations: 12 kB / 0.7708 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1561, allocations: 4 kB / 0.7708 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.1562, allocations: 91.2 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1562, allocations: 0 / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.1564, allocations: 19.91 kB / 0.7709 GB, free: 3.398 MB / 0.5606 GB 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.0003917/0.1568, allocations: 0.7145 MB / 0.7716 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.157, allocations: 51.92 kB / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.157, allocations: 0 / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.157, allocations: 27.92 kB / 0.7717 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1573, allocations: 21.81 kB / 0.7717 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1585, allocations: 1.376 MB / 0.7731 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1588, allocations: 0.6846 MB / 0.7737 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.1588, allocations: 7.984 kB / 0.7738 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.1588, allocations: 19.38 kB / 0.7738 GB, free: 360 kB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1588, allocations: 3.938 kB / 0.7738 GB, free: 356 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.302/0.4608, allocations: 1.782 MB / 0.7755 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.551, allocations: 9.484 kB / 0.7755 GB, free: 14.38 MB / 0.5606 GB (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)