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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.004806/0.004806, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001246/0.001246, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.005/1.005, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.91 kB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3578, allocations: 82.02 MB / 0.6754 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002142/0.36, allocations: 1.449 MB / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.3607, allocations: 455.2 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3608, allocations: 1.344 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3608, allocations: 3.938 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.3609, allocations: 9.141 kB / 0.6772 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.361, allocations: 23.3 kB / 0.6773 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.3611, allocations: 52.28 kB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3612, allocations: 26.34 kB / 0.6773 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.3613, allocations: 27.02 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.3614, allocations: 17.42 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3614, allocations: 4 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3614, allocations: 4.875 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.3614, allocations: 10.17 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.3615, allocations: 26.73 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.3616, allocations: 43.47 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3616, allocations: 0 / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3616, allocations: 0 / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3616, allocations: 1.219 kB / 0.6775 GB, free: 15.23 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.0005205/0.3621, allocations: 368.8 kB / 0.6778 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3622, allocations: 10.12 kB / 0.6778 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.3622, allocations: 35.92 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3623, allocations: 8.297 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3624, allocations: 170.6 kB / 0.678 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3624, allocations: 10.59 kB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3625, allocations: 8.859 kB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3626, allocations: 54.38 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3626, allocations: 5.094 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.3626, allocations: 0 / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3626, allocations: 2.25 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.3627, allocations: 29.2 kB / 0.6781 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.3632, allocations: 296.9 kB / 0.6784 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3633, allocations: 62 kB / 0.6785 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.3633, allocations: 24.64 kB / 0.6785 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3634, allocations: 5.172 kB / 0.6785 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3635, allocations: 67.7 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3635, allocations: 0 / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002231/0.3637, allocations: 106.1 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3638, allocations: 52.69 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.3639, allocations: 108.4 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3639, allocations: 32.2 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.364, allocations: 93.27 kB / 0.6789 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.364, allocations: 15.48 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3641, allocations: 29.89 kB / 0.679 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3642, allocations: 325.1 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.3642, allocations: 17.22 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.3643, allocations: 48.45 kB / 0.6794 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.3644, allocations: 71.41 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3644, allocations: 3.938 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.3646, allocations: 86.62 kB / 0.6795 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3646, allocations: 6.062 kB / 0.6795 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3646, allocations: 5.172 kB / 0.6795 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3646, allocations: 1.125 kB / 0.6795 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.3647, allocations: 16.41 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3647, allocations: 5.062 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.3648, allocations: 17.5 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3648, allocations: 6.812 kB / 0.6796 GB, free: 13.14 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 9.415e-05/0.3649, allocations: 118.5 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.3649, allocations: 2.312 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.3649, allocations: 7.969 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3649, allocations: 1.188 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.365, allocations: 9.188 kB / 0.6797 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.365, allocations: 0 / 0.6797 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.3654, allocations: 368 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3654, allocations: 0 / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.3654, allocations: 7.906 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3654, allocations: 480 / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3655, allocations: 1.125 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3655, allocations: 5.438 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3655, allocations: 0 / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3656, allocations: 187.9 kB / 0.6802 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3657, allocations: 86.31 kB / 0.6803 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3657, allocations: 1.625 kB / 0.6803 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.3658, allocations: 10.86 kB / 0.6803 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3659, allocations: 11.33 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3659, allocations: 2.312 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.3659, allocations: 80.12 kB / 0.6804 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3659, allocations: 4 kB / 0.6804 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002324/0.3662, allocations: 15 kB / 0.6805 GB, free: 12.27 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 0.0004631/0.3666, allocations: 0.7096 MB / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3668, allocations: 56.41 kB / 0.6812 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3668, allocations: 5.094 kB / 0.6812 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.3668, allocations: 24.31 kB / 0.6812 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3671, allocations: 18.14 kB / 0.6812 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3684, allocations: 1.379 MB / 0.6826 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3687, allocations: 0.6914 MB / 0.6833 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.3688, allocations: 7.422 kB / 0.6833 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.3688, allocations: 18.72 kB / 0.6833 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.3688, allocations: 1.031 kB / 0.6833 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3893, allocations: 1.759 MB / 0.685 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.144/9.533, allocations: 13.58 kB / 0.685 GB, free: 8.531 MB / 0.5137 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/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)