Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_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.0006965/0.0006965, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007402/0.0007402, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 13.41 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00158/0.1762, allocations: 1.18 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.1768, allocations: 469.2 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.1769, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1769, allocations: 3.984 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.177, allocations: 3.938 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.1771, allocations: 11.98 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.1772, allocations: 55.78 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.395e-05/0.1773, allocations: 8 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.1773, allocations: 23.91 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.1774, allocations: 15.92 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1774, allocations: 4 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.1774, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1774, allocations: 11.98 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1775, allocations: 33.64 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.914e-05/0.1775, allocations: 32.17 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1776, allocations: 0 / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1776, allocations: 0 / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.1776, allocations: 4 kB / 0.7892 GB, free: 9.988 MB / 0.6075 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.0004376/0.178, allocations: 351.3 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.178, allocations: 8.031 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1781, allocations: 38.5 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.1781, allocations: 7.906 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1783, allocations: 175 kB / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1783, allocations: 0 / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1783, allocations: 15.98 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.1784, allocations: 61.61 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1784, allocations: 0 / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1784, allocations: 0 / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1784, allocations: 0 / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/0.1785, allocations: 27.98 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.179, allocations: 312.7 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.1791, allocations: 54.56 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.1791, allocations: 28.94 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1791, allocations: 0 / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1793, allocations: 75.42 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1793, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002013/0.1795, allocations: 101.6 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1795, allocations: 51.41 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1797, allocations: 109.8 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1797, allocations: 29.7 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1797, allocations: 88.12 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1798, allocations: 27.59 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1798, allocations: 4.375 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.18, allocations: 314.8 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.18, allocations: 19.98 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.1801, allocations: 43.42 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.1801, allocations: 27.88 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1801, allocations: 0 / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.1803, allocations: 97.61 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1803, allocations: 4 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1803, allocations: 0 / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1803, allocations: 4 kB / 0.7912 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.1804, allocations: 11.95 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1804, allocations: 7.922 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.1804, allocations: 11.91 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1805, allocations: 4 kB / 0.7912 GB, free: 7.676 MB / 0.6075 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.1805, allocations: 125.4 kB / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.1805, allocations: 0 / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.1806, allocations: 19.94 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1806, allocations: 0 / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-05/0.1807, allocations: 3.953 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1807, allocations: 0 / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.181, allocations: 362.3 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.181, allocations: 4 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.1811, allocations: 7.938 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1811, allocations: 4 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1811, allocations: 3.953 kB / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1811, allocations: 3.984 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1811, allocations: 64 / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1813, allocations: 179.5 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.1813, allocations: 81.02 kB / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1813, allocations: 15.92 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.1814, allocations: 7.953 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1815, allocations: 11.98 kB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1815, allocations: 4.188 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.1815, allocations: 83.27 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1815, allocations: 3.938 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002162/0.1817, allocations: 12 kB / 0.7921 GB, free: 6.66 MB / 0.6075 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 (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.0004621/0.1822, allocations: 0.7085 MB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.1823, allocations: 51.92 kB / 0.7928 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1823, allocations: 4 kB / 0.7928 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.1824, allocations: 31.92 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1827, allocations: 10.91 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.1834, allocations: 0.4936 MB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1837, allocations: 0.6848 MB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.1837, allocations: 4 kB / 0.794 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1837, allocations: 23.42 kB / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1837, allocations: 0 / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.194, allocations: 1.467 MB / 0.7955 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.1942, allocations: 181.5 kB / 0.7957 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.675, allocations: 0 / 0.7957 GB, free: 2.961 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: