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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001135/0.001135, allocations: 192 kB / 16.14 MB, free: 6.707 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.18/1.18, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 294.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8645/0.8645, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 94.22 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 86.97 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002334/0.1395, allocations: 1.521 MB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005527/0.1401, allocations: 438.5 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1401, allocations: 4 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.1402, allocations: 3.984 kB / 0.6814 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.1403, allocations: 3.938 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.1404, allocations: 16.64 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.1405, allocations: 47.8 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.1406, allocations: 17.97 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.1406, allocations: 19.97 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.1407, allocations: 27.86 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1407, allocations: 2.938 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1407, allocations: 4 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1407, allocations: 11.98 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1408, allocations: 15.88 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.975e-05/0.1408, allocations: 51.8 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1409, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1409, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.1409, allocations: 0 / 0.6817 GB, free: 14.88 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.0004401/0.1413, allocations: 361.9 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1414, allocations: 8.031 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.1414, allocations: 34.75 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.1414, allocations: 8.844 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1415, allocations: 173.2 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1416, allocations: 4.375 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1416, allocations: 4.375 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1417, allocations: 58.44 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1417, allocations: 0.5312 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1417, allocations: 5.047 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1417, allocations: 0 / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.1418, allocations: 31.92 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1422, allocations: 297.7 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.1423, allocations: 58.59 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.1424, allocations: 32.94 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1424, allocations: 0 / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.1425, allocations: 75.33 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/0.1425, allocations: 0 / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001894/0.1427, allocations: 101.5 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.1428, allocations: 55.41 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.1428, allocations: 105.8 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1429, allocations: 33.7 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.1429, allocations: 84.08 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1429, allocations: 31.62 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.143, allocations: 29.72 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1431, allocations: 322.8 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.1431, allocations: 16 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.1432, allocations: 43.42 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.1433, allocations: 75.53 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1433, allocations: 4 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001258/0.1434, allocations: 89.61 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1435, allocations: 8 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1435, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1435, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.1435, allocations: 11.94 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1436, allocations: 4 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.1436, allocations: 15.89 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1437, allocations: 7.938 kB / 0.6838 GB, free: 12.48 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.228e-05/0.1437, allocations: 119.8 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1437, allocations: 4 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.1438, allocations: 7.969 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1438, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1438, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1438, allocations: 3.984 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1442, allocations: 366.6 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1442, allocations: 4 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.1442, allocations: 7.938 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1442, allocations: 3.938 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1442, allocations: 4 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1442, allocations: 8 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1442, allocations: 0 / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1444, allocations: 175.5 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.1444, allocations: 89.02 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1445, allocations: 0 / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.1445, allocations: 15.92 kB / 0.6845 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1446, allocations: 7.984 kB / 0.6845 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1446, allocations: 4 kB / 0.6845 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.1446, allocations: 83.28 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1447, allocations: 0 / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1449, allocations: 12 kB / 0.6846 GB, free: 11.49 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.0004086/0.1453, allocations: 0.7202 MB / 0.6853 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1454, allocations: 51.92 kB / 0.6854 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1454, allocations: 0 / 0.6854 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.1455, allocations: 28.2 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1458, allocations: 14.02 kB / 0.6854 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1469, allocations: 1.394 MB / 0.6868 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1472, allocations: 0.6888 MB / 0.6875 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.1472, allocations: 15.91 kB / 0.6875 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.1473, allocations: 15.44 kB / 0.6875 GB, free: 8.414 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1473, allocations: 0 / 0.6875 GB, free: 8.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.1588, allocations: 1.542 MB / 0.689 GB, free: 6.98 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.1591, allocations: 210 kB / 0.6892 GB, free: 6.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.763, allocations: 0 / 0.6892 GB, free: 6.723 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)