Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 180.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5458/0.5458, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.1 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 98.39 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/0.7077, allocations: 102.1 MB / 0.6687 GB, free: 2.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.7081, allocations: 79.83 kB / 0.6688 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003683/0.7118, allocations: 1.148 MB / 0.6699 GB, free: 1.078 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7118, allocations: 0 / 0.6699 GB, free: 1.078 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.7118, allocations: 0 / 0.6699 GB, free: 1.078 MB / 458.7 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.000553/0.7124, allocations: 367.2 kB / 0.6702 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7124, allocations: 8.031 kB / 0.6702 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.7125, allocations: 38.55 kB / 0.6703 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.7125, allocations: 11.86 kB / 0.6703 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.7127, allocations: 159.1 kB / 0.6704 GB, free: 420 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7127, allocations: 8 kB / 0.6704 GB, free: 412 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.7127, allocations: 4 kB / 0.6704 GB, free: 408 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.7129, allocations: 61.55 kB / 0.6705 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7129, allocations: 0 / 0.6705 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.7129, allocations: 8 kB / 0.6705 GB, free: 332 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.713, allocations: 10.03 kB / 0.6705 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.713, allocations: 19.98 kB / 0.6705 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.7137, allocations: 304.7 kB / 0.6708 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7138, allocations: 54.56 kB / 0.6709 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.7138, allocations: 0 / 0.6709 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.714, allocations: 79.58 kB / 0.671 GB, free: 15.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.714, allocations: 0 / 0.671 GB, free: 15.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002606/0.7143, allocations: 101.6 kB / 0.6711 GB, free: 15.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.7144, allocations: 55.41 kB / 0.6711 GB, free: 15.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.7145, allocations: 104.9 kB / 0.6712 GB, free: 15.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.7145, allocations: 25.7 kB / 0.6712 GB, free: 15.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.7146, allocations: 88.14 kB / 0.6713 GB, free: 15.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.7146, allocations: 27.69 kB / 0.6713 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.7146, allocations: 0 / 0.6713 GB, free: 15.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7148, allocations: 314.8 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.7149, allocations: 19.98 kB / 0.6717 GB, free: 15.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.7149, allocations: 54.64 kB / 0.6717 GB, free: 14.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.715, allocations: 20 kB / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.715, allocations: 0 / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000179/0.7152, allocations: 93.55 kB / 0.6718 GB, free: 14.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7152, allocations: 9.203 kB / 0.6718 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7152, allocations: 0 / 0.6718 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.7153, allocations: 4 kB / 0.6718 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.7154, allocations: 11.06 kB / 0.6718 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.7154, allocations: 4.406 kB / 0.6718 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.7155, allocations: 23.83 kB / 0.6719 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.7155, allocations: 4 kB / 0.6719 GB, free: 14.8 MB / 474.7 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,$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 0.0001237/0.7156, allocations: 120.9 kB / 0.672 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.7156, allocations: 3.938 kB / 0.672 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.7157, allocations: 15.92 kB / 0.672 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7157, allocations: 0 / 0.672 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7157, allocations: 3.984 kB / 0.672 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7157, allocations: 4 kB / 0.672 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.7162, allocations: 354.4 kB / 0.6724 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7162, allocations: 0 / 0.6724 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.7163, allocations: 11.95 kB / 0.6724 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7163, allocations: 0 / 0.6724 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.7163, allocations: 4 kB / 0.6724 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.7163, allocations: 0 / 0.6724 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7163, allocations: 7.938 kB / 0.6724 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.7165, allocations: 175.5 kB / 0.6725 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.7166, allocations: 81.02 kB / 0.6726 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.7167, allocations: 11.89 kB / 0.6726 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.7168, allocations: 7.984 kB / 0.6726 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.7168, allocations: 12.27 kB / 0.6727 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.7168, allocations: 4 kB / 0.6727 GB, free: 13.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.098e-05/0.7169, allocations: 83.27 kB / 0.6727 GB, free: 13.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7169, allocations: 4 kB / 0.6727 GB, free: 13.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000242/0.7172, allocations: 15.98 kB / 0.6728 GB, free: 13.8 MB / 474.7 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 (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.0005684/0.7177, allocations: 0.7126 MB / 0.6734 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.7179, allocations: 55.92 kB / 0.6735 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7179, allocations: 0 / 0.6735 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.718, allocations: 27.92 kB / 0.6735 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.7182, allocations: 11.95 kB / 0.6735 GB, free: 12.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7195, allocations: 0.9422 MB / 0.6745 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.7198, allocations: 0.6887 MB / 0.6751 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.7199, allocations: 7.984 kB / 0.6751 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.7199, allocations: 15.44 kB / 0.6752 GB, free: 11.23 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7199, allocations: 0 / 0.6752 GB, free: 11.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.7334, allocations: 1.453 MB / 0.6766 GB, free: 9.883 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.7337, allocations: 178.9 kB / 0.6767 GB, free: 9.637 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.236, allocations: 0 / 0.6767 GB, free: 9.637 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)