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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 219.9 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9242/0.9242, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 71.02 kB / 0.6338 GB, free: 6.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2102, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003143/0.2133, allocations: 1.466 MB / 0.7211 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.2142, allocations: 466.8 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.2143, allocations: 0 / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2143, allocations: 7.922 kB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.2144, allocations: 7.938 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.2146, allocations: 23.92 kB / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.758e-05/0.2146, allocations: 47.91 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2148, allocations: 15.97 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.2148, allocations: 23.88 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.2149, allocations: 19.91 kB / 0.7217 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2149, allocations: 4 kB / 0.7217 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.2149, allocations: 4 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.2149, allocations: 19.92 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.215, allocations: 11.94 kB / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2151, allocations: 51.8 kB / 0.7218 GB, free: 12.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2151, allocations: 0 / 0.7218 GB, free: 12.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2151, allocations: 0 / 0.7218 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2151, allocations: 3.938 kB / 0.7218 GB, free: 12.69 MB / 0.545 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.0005528/0.2157, allocations: 282.3 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2157, allocations: 12.03 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.527e-05/0.2157, allocations: 192 / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.2158, allocations: 34.75 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2158, allocations: 4.938 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2159, allocations: 122.4 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.216, allocations: 12.38 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.216, allocations: 4.375 kB / 0.7222 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2161, allocations: 57.61 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2161, allocations: 0 / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2161, allocations: 0 / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2161, allocations: 4 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.2162, allocations: 31.91 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.2167, allocations: 255.9 kB / 0.7225 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2168, allocations: 54.59 kB / 0.7226 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.2169, allocations: 32.88 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2169, allocations: 0 / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.2171, allocations: 76.02 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2171, allocations: 0 / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002384/0.2173, allocations: 97.61 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2173, allocations: 55.41 kB / 0.7228 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2175, allocations: 109.8 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2175, allocations: 29.7 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.2175, allocations: 88.12 kB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2176, allocations: 27.78 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.2176, allocations: 33.66 kB / 0.7231 GB, free: 11.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2178, allocations: 322.8 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.2178, allocations: 16 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.2179, allocations: 47.36 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.218, allocations: 71.36 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.218, allocations: 0 / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001508/0.2182, allocations: 97.56 kB / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2182, allocations: 4 kB / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2182, allocations: 4 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2182, allocations: 4.031 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.2183, allocations: 11.94 kB / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2183, allocations: 0 / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.2183, allocations: 15.92 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2183, allocations: 4 kB / 0.7237 GB, free: 10.49 MB / 0.545 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 0.0001005/0.2184, allocations: 119.9 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.2185, allocations: 7.938 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.2185, allocations: 12.06 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2185, allocations: 3.984 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2185, allocations: 384 / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2185, allocations: 7.938 kB / 0.7238 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.2189, allocations: 325.5 kB / 0.7242 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2189, allocations: 0 / 0.7242 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.219, allocations: 7.938 kB / 0.7242 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.219, allocations: 0 / 0.7242 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.219, allocations: 3.938 kB / 0.7242 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.219, allocations: 3.984 kB / 0.7242 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.219, allocations: 0 / 0.7242 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.2192, allocations: 187.4 kB / 0.7243 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.2192, allocations: 3.938 kB / 0.7243 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2192, allocations: 12 kB / 0.7244 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.2193, allocations: 11.98 kB / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2193, allocations: 7.984 kB / 0.7244 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2193, allocations: 4 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.2194, allocations: 83.28 kB / 0.7245 GB, free: 9.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2194, allocations: 0 / 0.7245 GB, free: 9.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002259/0.2196, allocations: 15.95 kB / 0.7245 GB, free: 9.605 MB / 0.545 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.000493/0.2201, allocations: 0.7124 MB / 0.7252 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2202, allocations: 64.08 kB / 0.7252 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2202, allocations: 0 / 0.7252 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.2203, allocations: 31.86 kB / 0.7253 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2205, allocations: 8.156 kB / 0.7253 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.222, allocations: 1.376 MB / 0.7266 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.27e-05/0.2221, allocations: 67.34 kB / 0.7267 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.2221, allocations: 4 kB / 0.7267 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.2221, allocations: 27.48 kB / 0.7267 GB, free: 7.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2221, allocations: 0 / 0.7267 GB, free: 7.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.2443, allocations: 1.992 MB / 0.7287 GB, free: 5.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.11, allocations: 11.53 kB / 0.7287 GB, free: 5.348 MB / 0.545 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.891819977900013] Failed to read output from testmodel.py, exit status != 0: 11.273967285989784 11.2982768 11.078479171 Calling exit ...