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.0008312/0.0008312, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008926/0.0008926, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9104/0.9104, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5263/0.5263, allocations: 110.2 MB / 369.4 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5472 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.326e-05, allocations: 3.312 kB / 0.5472 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003495/0.003509, allocations: 3.727 MB / 0.5509 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.005141, allocations: 1.332 MB / 0.5522 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.005407, allocations: 27.81 kB / 0.5522 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.005671, allocations: 126.7 kB / 0.5523 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.005908, allocations: 198.2 kB / 0.5525 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.006467, allocations: 418.3 kB / 0.5529 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.007117, allocations: 0.9824 MB / 0.5539 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.007465, allocations: 286.6 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.007862, allocations: 498.9 kB / 0.5546 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.008219, allocations: 247.2 kB / 0.5549 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.008363, allocations: 88 kB / 0.5549 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.008439, allocations: 92 kB / 0.555 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.008529, allocations: 179.4 kB / 0.5552 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.008714, allocations: 251.3 kB / 0.5554 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.009472, allocations: 1.145 MB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.009476, allocations: 0 / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.009478, allocations: 4 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.009487, allocations: 0 / 0.5566 GB, free: 272 kB / 0.5105 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.001209/0.0107, allocations: 1.07 MB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.01073, allocations: 12.03 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.01081, allocations: 102.7 kB / 0.5577 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.0109, allocations: 84.42 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.01155, allocations: 0.5069 MB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01158, allocations: 45.69 kB / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.01164, allocations: 60.36 kB / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.01232, allocations: 0.6544 MB / 0.559 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.01234, allocations: 4.188 kB / 0.559 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.01237, allocations: 26.25 kB / 0.5591 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.01238, allocations: 12 kB / 0.5591 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.01298, allocations: 460.9 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.01473, allocations: 1.779 MB / 0.5613 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.01526, allocations: 428.1 kB / 0.5617 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.01554, allocations: 234.1 kB / 0.5619 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01557, allocations: 8.484 kB / 0.5619 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.01591, allocations: 266.2 kB / 0.5622 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.01592, allocations: 0 / 0.5622 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.000785/0.0167, allocations: 0.5788 MB / 0.5627 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.01674, allocations: 63.84 kB / 0.5628 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.01706, allocations: 450.6 kB / 0.5632 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.01708, allocations: 37.7 kB / 0.5632 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.01724, allocations: 332.9 kB / 0.5636 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.01732, allocations: 170.5 kB / 0.5637 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.01742, allocations: 98.3 kB / 0.5638 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01752, allocations: 370.7 kB / 0.5642 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.01776, allocations: 190.9 kB / 0.5644 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.01801, allocations: 276.4 kB / 0.5646 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.0185, allocations: 455.2 kB / 0.565 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.0185, allocations: 0 / 0.565 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006146/0.01912, allocations: 0.5941 MB / 0.5656 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.01915, allocations: 33.7 kB / 0.5657 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01916, allocations: 0 / 0.5657 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01917, allocations: 4 kB / 0.5657 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.01944, allocations: 115.8 kB / 0.5658 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.01944, allocations: 4.25 kB / 0.5658 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01959, allocations: 63.64 kB / 0.5658 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01961, allocations: 16 kB / 0.5659 GB, free: 6.402 MB / 0.5261 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.0001647/0.01978, allocations: 209.7 kB / 0.5661 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.01982, allocations: 59.62 kB / 0.5661 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.0199, allocations: 65.58 kB / 0.5662 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.0199, allocations: 4 kB / 0.5662 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.01991, allocations: 4 kB / 0.5662 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01992, allocations: 7.984 kB / 0.5662 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.02097, allocations: 1.081 MB / 0.5672 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02097, allocations: 0 / 0.5672 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.0212, allocations: 91.89 kB / 0.5673 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.02121, allocations: 3.984 kB / 0.5673 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.02123, allocations: 11.94 kB / 0.5673 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.02123, allocations: 4 kB / 0.5674 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.02123, allocations: 4 kB / 0.5674 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.02202, allocations: 0.763 MB / 0.5681 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.02213, allocations: 95.58 kB / 0.5682 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.02216, allocations: 8 kB / 0.5682 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.0223, allocations: 31.97 kB / 0.5682 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.02236, allocations: 32.44 kB / 0.5683 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.02238, allocations: 19.92 kB / 0.5683 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002062/0.02259, allocations: 306.9 kB / 0.5686 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.02259, allocations: 0 / 0.5686 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002763/0.02286, allocations: 147.6 kB / 0.5687 GB, free: 3.398 MB / 0.5261 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.0009687/0.02383, allocations: 1.319 MB / 0.57 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.02438, allocations: 487.4 kB / 0.5705 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02439, allocations: 0 / 0.5705 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.02463, allocations: 211.2 kB / 0.5707 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.02508, allocations: 168.5 kB / 0.5708 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.02961, allocations: 4.821 MB / 0.5755 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.02979, allocations: 296.6 kB / 0.5758 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000179/0.02997, allocations: 60.58 kB / 0.5759 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.03018, allocations: 228.4 kB / 0.5761 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.03018, allocations: 0 / 0.5761 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.05484, allocations: 12.56 MB / 0.5884 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.823, allocations: 3.984 kB / 0.5884 GB, free: 15.35 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.328118292614818] Failed to read output from testmodel.py, exit status != 0: 6.9096993785351515 6.918544067 6.907159414 Calling exit ...