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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006439/0.006439, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001245/0.001245, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9432/0.9432, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 75.81 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3533, allocations: 82.02 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002048/0.3553, allocations: 1.451 MB / 0.677 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005678/0.3559, allocations: 450.6 kB / 0.6774 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.356, allocations: 1.562 kB / 0.6774 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.356, allocations: 3.938 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.3561, allocations: 15.88 kB / 0.6775 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3562, allocations: 24.12 kB / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.3563, allocations: 52.53 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.3564, allocations: 18.16 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.3565, allocations: 27.55 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.3565, allocations: 17.02 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3566, allocations: 4.594 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3566, allocations: 4.031 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.3566, allocations: 10.77 kB / 0.6776 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.3566, allocations: 30.67 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.3567, allocations: 38.88 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3567, allocations: 4 kB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3567, allocations: 0 / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3568, allocations: 0 / 0.6777 GB, free: 15.81 MB / 0.5137 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.0004543/0.3572, allocations: 362.1 kB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.3573, allocations: 13.34 kB / 0.678 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3573, allocations: 7.25 kB / 0.6781 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3574, allocations: 176.5 kB / 0.6782 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3574, allocations: 2.781 kB / 0.6782 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3575, allocations: 8.062 kB / 0.6782 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.3576, allocations: 59.83 kB / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3576, allocations: 1.406 kB / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3576, allocations: 0 / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3576, allocations: 1.469 kB / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.3577, allocations: 30.05 kB / 0.6783 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.3581, allocations: 301 kB / 0.6786 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.3582, allocations: 52.94 kB / 0.6787 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.3583, allocations: 28.84 kB / 0.6787 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3583, allocations: 1.469 kB / 0.6787 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.3584, allocations: 72.11 kB / 0.6788 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3584, allocations: 4 kB / 0.6788 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.000195/0.3586, allocations: 105.8 kB / 0.6789 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3587, allocations: 56.64 kB / 0.6789 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3588, allocations: 108.4 kB / 0.679 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3588, allocations: 30.86 kB / 0.679 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.3589, allocations: 86.22 kB / 0.6791 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.3589, allocations: 18.97 kB / 0.6791 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3589, allocations: 30.39 kB / 0.6792 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.359, allocations: 320.2 kB / 0.6795 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.3591, allocations: 22.17 kB / 0.6795 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.3591, allocations: 49.08 kB / 0.6796 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.3592, allocations: 62.41 kB / 0.6796 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3592, allocations: 1.125 kB / 0.6796 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.3593, allocations: 97.72 kB / 0.6797 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3594, allocations: 9.656 kB / 0.6797 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3594, allocations: 0.9688 kB / 0.6797 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3594, allocations: 2.25 kB / 0.6797 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.3595, allocations: 7.781 kB / 0.6797 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3595, allocations: 9.109 kB / 0.6797 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.3596, allocations: 13.16 kB / 0.6797 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3596, allocations: 6.406 kB / 0.6798 GB, free: 13.78 MB / 0.5137 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,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.97e-05/0.3597, allocations: 123.3 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.3597, allocations: 2.281 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3597, allocations: 12.95 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3597, allocations: 1.031 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.3597, allocations: 1.062 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3597, allocations: 0 / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.3601, allocations: 359.8 kB / 0.6802 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3601, allocations: 480 / 0.6802 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.3601, allocations: 3.562 kB / 0.6802 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3601, allocations: 4.969 kB / 0.6802 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3602, allocations: 5.125 kB / 0.6802 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3602, allocations: 7.922 kB / 0.6803 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3602, allocations: 5.156 kB / 0.6803 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3603, allocations: 174.9 kB / 0.6804 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.3604, allocations: 86.55 kB / 0.6805 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3604, allocations: 9.141 kB / 0.6805 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.3605, allocations: 12.03 kB / 0.6805 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3605, allocations: 7.891 kB / 0.6805 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.3605, allocations: 2.562 kB / 0.6805 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.3606, allocations: 87.33 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3606, allocations: 0 / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002295/0.3608, allocations: 14.47 kB / 0.6806 GB, free: 12.91 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.448e-05/0.3609, allocations: 95 kB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.361, allocations: 52.55 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3611, allocations: 5.188 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.3611, allocations: 28.39 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3615, allocations: 9.531 kB / 0.6808 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.3619, allocations: 162.8 kB / 0.681 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3622, allocations: 0.6866 MB / 0.6816 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.3622, allocations: 16.31 kB / 0.6817 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3622, allocations: 15.41 kB / 0.6817 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3622, allocations: 0 / 0.6817 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.002612/0.3648, allocations: 0.7824 MB / 0.6824 GB, free: 11.52 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)