Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001748/0.001748, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00213/0.00213, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.929/0.929, 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.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.003287/0.003287, allocations: 67.36 kB / 0.6338 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2179, allocations: 87.89 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.007014/0.225, allocations: 3.726 MB / 0.7233 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00351/0.2285, allocations: 1.325 MB / 0.7246 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.2295, allocations: 27.81 kB / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.2302, allocations: 130.7 kB / 0.7247 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.2311, allocations: 178.4 kB / 0.7249 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2323, allocations: 422.1 kB / 0.7253 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2338, allocations: 0.9477 MB / 0.7262 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.2345, allocations: 306.7 kB / 0.7265 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.235, allocations: 346.7 kB / 0.7269 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.2354, allocations: 338.4 kB / 0.7272 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2355, allocations: 91.94 kB / 0.7273 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2357, allocations: 92 kB / 0.7274 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2358, allocations: 171.5 kB / 0.7275 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.2362, allocations: 314.4 kB / 0.7278 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2373, allocations: 1.121 MB / 0.7289 GB, free: 5.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2373, allocations: 4 kB / 0.7289 GB, free: 5.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2373, allocations: 4 kB / 0.7289 GB, free: 5.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.2373, allocations: 0 / 0.7289 GB, free: 5.277 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001941/0.2393, allocations: 1.076 MB / 0.73 GB, free: 4.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2393, allocations: 8.031 kB / 0.73 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.182e-05/0.2394, allocations: 17.5 kB / 0.73 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.2395, allocations: 98.7 kB / 0.7301 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2396, allocations: 92.38 kB / 0.7302 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.2405, allocations: 0.5077 MB / 0.7307 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.2406, allocations: 45.69 kB / 0.7307 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.2407, allocations: 56.33 kB / 0.7308 GB, free: 3.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.2418, allocations: 0.6694 MB / 0.7314 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2419, allocations: 0 / 0.7314 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.2419, allocations: 24 kB / 0.7315 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2419, allocations: 16 kB / 0.7315 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009909/0.2429, allocations: 457 kB / 0.7319 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2457, allocations: 1.783 MB / 0.7337 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.2467, allocations: 421 kB / 0.7341 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.2471, allocations: 222.1 kB / 0.7343 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.2471, allocations: 8.375 kB / 0.7343 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.2477, allocations: 261.3 kB / 0.7345 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.2477, allocations: 0 / 0.7345 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001318/0.249, allocations: 0.5846 MB / 0.7351 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.2491, allocations: 59.84 kB / 0.7352 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.2496, allocations: 446.7 kB / 0.7356 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.2497, allocations: 33.7 kB / 0.7356 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2499, allocations: 332.9 kB / 0.7359 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.2501, allocations: 174.5 kB / 0.7361 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2502, allocations: 98.3 kB / 0.7362 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2504, allocations: 366.7 kB / 0.7365 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.2508, allocations: 194.9 kB / 0.7367 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.2513, allocations: 280.3 kB / 0.737 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.2521, allocations: 455 kB / 0.7374 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2521, allocations: 0 / 0.7374 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.2532, allocations: 0.5941 MB / 0.738 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.2533, allocations: 33.7 kB / 0.738 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2533, allocations: 4 kB / 0.738 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2533, allocations: 4 kB / 0.738 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.2538, allocations: 116.1 kB / 0.7382 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2538, allocations: 7.938 kB / 0.7382 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.2541, allocations: 55.7 kB / 0.7382 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.2542, allocations: 24 kB / 0.7382 GB, free: 11.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002867/0.2545, allocations: 207.4 kB / 0.7384 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.2546, allocations: 67.5 kB / 0.7385 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.2547, allocations: 61.58 kB / 0.7386 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2547, allocations: 8 kB / 0.7386 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2547, allocations: 0 / 0.7386 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2547, allocations: 3.984 kB / 0.7386 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2565, allocations: 1.068 MB / 0.7396 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2565, allocations: 4 kB / 0.7396 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.257, allocations: 91.89 kB / 0.7397 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.257, allocations: 3.938 kB / 0.7397 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.257, allocations: 19.98 kB / 0.7397 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.257, allocations: 0 / 0.7397 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.257, allocations: 0 / 0.7397 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.2584, allocations: 0.7574 MB / 0.7405 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.2586, allocations: 99.52 kB / 0.7406 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.2586, allocations: 12 kB / 0.7406 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2589, allocations: 27.97 kB / 0.7406 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.259, allocations: 40.31 kB / 0.7406 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.259, allocations: 15.98 kB / 0.7407 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003823/0.2594, allocations: 306.9 kB / 0.7409 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2594, allocations: 0 / 0.7409 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004641/0.2599, allocations: 139.6 kB / 0.7411 GB, free: 8.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001719/0.2616, allocations: 1.332 MB / 0.7424 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009919/0.2626, allocations: 482.9 kB / 0.7428 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2626, allocations: 0 / 0.7428 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.263, allocations: 206.4 kB / 0.743 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.2638, allocations: 161.2 kB / 0.7432 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.2714, allocations: 4.918 MB / 0.748 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2717, allocations: 288.7 kB / 0.7483 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.272, allocations: 68.58 kB / 0.7483 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.2724, allocations: 219.4 kB / 0.7485 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.2724, allocations: 0 / 0.7485 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3841/0.6565, allocations: 12.18 MB / 0.7604 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.4, allocations: 4.344 kB / 0.7604 GB, free: 29.57 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.28927188401576] Failed to read output from testmodel.py, exit status != 0: 12.572410436929204 12.59462479 12.352932037 Calling exit ...