Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001023/0.001023, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.00102/0.001021, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.232/1.232, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004139, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 83.41 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.00211/0.2651, allocations: 1.179 MB / 0.5987 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.2659, allocations: 411.3 kB / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.2659, allocations: 0 / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.266, allocations: 3.938 kB / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2661, allocations: 3.984 kB / 0.5991 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2663, allocations: 19.92 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2664, allocations: 47.91 kB / 0.5991 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2665, allocations: 8 kB / 0.5992 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.2666, allocations: 19.92 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.2667, allocations: 15.92 kB / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2667, allocations: 11.92 kB / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2667, allocations: 0 / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2667, allocations: 11.98 kB / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.2668, allocations: 29.7 kB / 0.5992 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.003e-05/0.2669, allocations: 24.23 kB / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2669, allocations: 3.984 kB / 0.5993 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2669, allocations: 4 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2669, allocations: 0 / 0.5993 GB, free: 5.914 MB / 0.4981 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.0006009/0.2675, allocations: 351.2 kB / 0.5996 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.2676, allocations: 8.031 kB / 0.5996 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.2677, allocations: 46.42 kB / 0.5997 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2677, allocations: 7.906 kB / 0.5997 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2679, allocations: 171 kB / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2679, allocations: 4 kB / 0.5998 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.2679, allocations: 8 kB / 0.5998 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2681, allocations: 57.67 kB / 0.5999 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2681, allocations: 3.938 kB / 0.5999 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2681, allocations: 4 kB / 0.5999 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2682, allocations: 0 / 0.5999 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.2682, allocations: 27.98 kB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.2688, allocations: 304.7 kB / 0.6002 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.269, allocations: 58.59 kB / 0.6003 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.269, allocations: 20.95 kB / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.269, allocations: 0 / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.2693, allocations: 83.3 kB / 0.6004 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.986e-06/0.2693, allocations: 3.984 kB / 0.6004 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002619/0.2695, allocations: 101.6 kB / 0.6005 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.2696, allocations: 59.33 kB / 0.6005 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.2697, allocations: 105.8 kB / 0.6006 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2697, allocations: 33.69 kB / 0.6007 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.2698, allocations: 84.14 kB / 0.6007 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.2698, allocations: 27.66 kB / 0.6008 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2699, allocations: 0 / 0.6008 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.27, allocations: 318.8 kB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.27, allocations: 16 kB / 0.6011 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.2701, allocations: 43.42 kB / 0.6011 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.2702, allocations: 20 kB / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2702, allocations: 0 / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001425/0.2703, allocations: 97.55 kB / 0.6012 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2704, allocations: 4 kB / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2704, allocations: 3.938 kB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2704, allocations: 4 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.2705, allocations: 19.94 kB / 0.6013 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2705, allocations: 0 / 0.6013 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2706, allocations: 11.91 kB / 0.6013 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2706, allocations: 7.984 kB / 0.6013 GB, free: 3.598 MB / 0.4981 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 0.0001284/0.2707, allocations: 125.8 kB / 0.6014 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.2707, allocations: 4 kB / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2708, allocations: 7.969 kB / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2708, allocations: 0 / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2708, allocations: 3.953 kB / 0.6014 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2708, allocations: 0 / 0.6014 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.2713, allocations: 370.7 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2713, allocations: 0 / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.2714, allocations: 7.984 kB / 0.6018 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2714, allocations: 4 kB / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2714, allocations: 3.953 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.2714, allocations: 4.062 kB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2714, allocations: 0 / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.2716, allocations: 179.5 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.2717, allocations: 88.95 kB / 0.6021 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2717, allocations: 4 kB / 0.6021 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.2718, allocations: 11.94 kB / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.2718, allocations: 8.281 kB / 0.6021 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2719, allocations: 7.984 kB / 0.6021 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.2719, allocations: 83.27 kB / 0.6022 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.056e-06/0.2719, allocations: 0 / 0.6022 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002477/0.2722, allocations: 15.94 kB / 0.6022 GB, free: 2.582 MB / 0.4981 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.0005553/0.2727, allocations: 0.7163 MB / 0.6029 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.2729, allocations: 51.92 kB / 0.6029 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2729, allocations: 0 / 0.6029 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.273, allocations: 32.14 kB / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2733, allocations: 20 kB / 0.603 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.2742, allocations: 0.4883 MB / 0.6035 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2746, allocations: 0.6848 MB / 0.6041 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.2746, allocations: 7.984 kB / 0.6041 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.2747, allocations: 19.44 kB / 0.6042 GB, free: 468 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2747, allocations: 0 / 0.6042 GB, free: 468 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/0.7389, allocations: 1.474 MB / 0.6056 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.7392, allocations: 198.7 kB / 0.6058 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.829, allocations: 0 / 0.6058 GB, free: 39.79 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: