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: "" <> 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.009776/0.009776, allocations: 103.9 kB / 15.73 MB, free: 6.496 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.002072/0.002072, allocations: 191.5 kB / 16.67 MB, free: 6.379 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.9967/0.9967, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 55.91 kB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3946, allocations: 82.02 MB / 0.6751 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.00232/0.397, allocations: 1.462 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.3978, allocations: 447.6 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.3978, allocations: 0 / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.3979, allocations: 3.938 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.398, allocations: 9.391 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3981, allocations: 28.2 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.3982, allocations: 51.41 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.3983, allocations: 14.08 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.3984, allocations: 24.45 kB / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.3984, allocations: 21.16 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3985, allocations: 3.969 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3985, allocations: 3.656 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.3985, allocations: 10.44 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.3985, allocations: 22.33 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3987, allocations: 53.67 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3987, allocations: 0 / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3987, allocations: 1.094 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3987, allocations: 0 / 0.6772 GB, free: 15.47 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.000497/0.3992, allocations: 365 kB / 0.6776 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3992, allocations: 9.156 kB / 0.6776 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.3993, allocations: 37.69 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.3993, allocations: 7.312 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3994, allocations: 166.9 kB / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3995, allocations: 10.55 kB / 0.6778 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3995, allocations: 7.875 kB / 0.6778 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3996, allocations: 60.25 kB / 0.6778 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3996, allocations: 0 / 0.6778 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3996, allocations: 1.188 kB / 0.6779 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3997, allocations: 5.031 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.3997, allocations: 29.44 kB / 0.6779 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4002, allocations: 309.1 kB / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4003, allocations: 53.88 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.4004, allocations: 24.5 kB / 0.6783 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.4004, allocations: 4.906 kB / 0.6783 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4006, allocations: 68.02 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4006, allocations: 4 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002119/0.4008, allocations: 98.02 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4008, allocations: 57.88 kB / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.4009, allocations: 107.1 kB / 0.6786 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.401, allocations: 28.3 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.401, allocations: 89.5 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.401, allocations: 22.92 kB / 0.6787 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.4011, allocations: 26.19 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4012, allocations: 325 kB / 0.679 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.4013, allocations: 17.25 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.4013, allocations: 44.92 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.4014, allocations: 70.48 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4014, allocations: 0 / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000148/0.4016, allocations: 98.95 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4016, allocations: 5.562 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4016, allocations: 1.219 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4016, allocations: 1.25 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.4017, allocations: 7.969 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4017, allocations: 2.531 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.4018, allocations: 19.52 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4018, allocations: 11.72 kB / 0.6793 GB, free: 13.39 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 8.257e-05/0.4019, allocations: 116 kB / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.4019, allocations: 6.281 kB / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.402, allocations: 9.125 kB / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.402, allocations: 5.406 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.402, allocations: 0 / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.402, allocations: 4.047 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.4024, allocations: 367.3 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4024, allocations: 1.156 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.4024, allocations: 3.688 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4024, allocations: 4 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.4025, allocations: 1.188 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4025, allocations: 8.969 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4025, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.4026, allocations: 175.6 kB / 0.68 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.4027, allocations: 83.3 kB / 0.6801 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4027, allocations: 5.031 kB / 0.6801 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.4028, allocations: 15.39 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.4028, allocations: 11.3 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4029, allocations: 2.281 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.4029, allocations: 83.66 kB / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4029, allocations: 0 / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002322/0.4031, allocations: 10.81 kB / 0.6802 GB, free: 12.52 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.0004191/0.4036, allocations: 0.7173 MB / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.4037, allocations: 60.97 kB / 0.6809 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4037, allocations: 0 / 0.6809 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.4038, allocations: 25.75 kB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4041, allocations: 22.98 kB / 0.681 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4054, allocations: 1.375 MB / 0.6823 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4056, allocations: 0.6866 MB / 0.683 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.4057, allocations: 3.312 kB / 0.683 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4057, allocations: 15.66 kB / 0.683 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of SimCode: time 1.542e-06/0.4057, allocations: 0 / 0.683 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.4237, allocations: 1.792 MB / 0.6848 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.77, allocations: 12.45 kB / 0.6848 GB, free: 8.758 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)