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.001247/0.001248, allocations: 108 kB / 15.6 MB, free: 132 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.001092/0.001092, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.00204, allocations: 286.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 98.16 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1372, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002332/0.1395, allocations: 1.455 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.1401, allocations: 441.3 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.1402, allocations: 4 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.1402, allocations: 3.938 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.1403, allocations: 8.578 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1404, allocations: 20.61 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.1405, allocations: 55.83 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.1406, allocations: 14.91 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.1407, allocations: 23.92 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1407, allocations: 15.92 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1408, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1408, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.1408, allocations: 19.92 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.1408, allocations: 23.92 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.549e-05/0.1409, allocations: 47.75 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1409, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.141, allocations: 3.938 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.141, allocations: 0 / 0.6824 GB, free: 14.43 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.000448/0.1414, allocations: 359.4 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1415, allocations: 8.031 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1415, allocations: 38.69 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.1415, allocations: 12.84 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1416, allocations: 168.4 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1417, allocations: 4.375 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1417, allocations: 4.375 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1418, allocations: 61.8 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1418, allocations: 0 / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1418, allocations: 0 / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1418, allocations: 3.938 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.1419, allocations: 27.98 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1423, allocations: 296.7 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.1424, allocations: 58.59 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.1425, allocations: 28.94 kB / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1425, allocations: 0 / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.1426, allocations: 75.38 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1427, allocations: 0 / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002029/0.1429, allocations: 97.61 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1429, allocations: 55.41 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.143, allocations: 110.1 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.143, allocations: 33.7 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1431, allocations: 88.12 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1431, allocations: 23.66 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1432, allocations: 33.64 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1433, allocations: 326.7 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1433, allocations: 15.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.1434, allocations: 43.42 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.1435, allocations: 71.55 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1435, allocations: 4 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001334/0.1436, allocations: 93.61 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1436, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1436, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1436, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.1437, allocations: 15.94 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1437, allocations: 3.984 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.1438, allocations: 7.906 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1438, allocations: 11.97 kB / 0.6845 GB, free: 12.03 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 7.458e-05/0.1439, allocations: 115.8 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1439, allocations: 4 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.144, allocations: 11.95 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.144, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.144, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.144, allocations: 4 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.1444, allocations: 374.2 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1444, allocations: 0 / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1444, allocations: 4 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1444, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1444, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1445, allocations: 7.922 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1445, allocations: 4 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.1446, allocations: 175.5 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.1447, allocations: 85.2 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1447, allocations: 3.984 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.1448, allocations: 11.88 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1448, allocations: 15.92 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1448, allocations: 4 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.1449, allocations: 83.27 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1449, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1451, allocations: 16 kB / 0.6853 GB, free: 11.03 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.0004037/0.1455, allocations: 0.7126 MB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1457, allocations: 63.84 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1457, allocations: 0 / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.1457, allocations: 27.98 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.146, allocations: 13.91 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1471, allocations: 1.379 MB / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1474, allocations: 0.6885 MB / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.1474, allocations: 7.938 kB / 0.6882 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1475, allocations: 15.72 kB / 0.6882 GB, free: 7.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1475, allocations: 3.938 kB / 0.6882 GB, free: 7.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1639, allocations: 1.74 MB / 0.6899 GB, free: 6.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.1, allocations: 7.875 kB / 0.6899 GB, free: 6.312 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)