Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001382/0.001382, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001402/0.001402, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002446/0.002446, allocations: 286.4 kB / 309.8 MB, free: 3.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.068/1.068, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00303/0.00303, allocations: 99.84 kB / 0.7346 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5054, allocations: 95.34 MB / 0.8277 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.004596/0.51, allocations: 4.16 MB / 0.8318 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.5126, allocations: 1.362 MB / 0.8331 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.513, allocations: 32.62 kB / 0.8332 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.5134, allocations: 129.5 kB / 0.8333 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.5137, allocations: 182.9 kB / 0.8335 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.5147, allocations: 415.8 kB / 0.8339 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009585/0.5156, allocations: 0.9543 MB / 0.8348 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.5161, allocations: 302.4 kB / 0.8351 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.5165, allocations: 344.6 kB / 0.8354 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.5169, allocations: 337.2 kB / 0.8357 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.517, allocations: 90.06 kB / 0.8358 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.5171, allocations: 89.84 kB / 0.8359 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.5173, allocations: 180.2 kB / 0.8361 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.5176, allocations: 397.2 kB / 0.8365 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5189, allocations: 1.062 MB / 0.8375 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5189, allocations: 0 / 0.8375 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5189, allocations: 0 / 0.8375 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5189, allocations: 0 / 0.8375 GB, free: 12.64 MB / 0.5919 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.001873/0.5208, allocations: 1.096 MB / 0.8386 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5208, allocations: 13.22 kB / 0.8386 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.191e-05/0.5208, allocations: 14.25 kB / 0.8386 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.521, allocations: 103.9 kB / 0.8387 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5211, allocations: 98.47 kB / 0.8388 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.522, allocations: 0.5656 MB / 0.8393 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.5221, allocations: 42.31 kB / 0.8394 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.5222, allocations: 63.7 kB / 0.8394 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5232, allocations: 0.6081 MB / 0.84 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5233, allocations: 1.625 kB / 0.84 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.5233, allocations: 26.41 kB / 0.8401 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5233, allocations: 13.81 kB / 0.8401 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/0.5243, allocations: 458.3 kB / 0.8405 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.5273, allocations: 2.002 MB / 0.8425 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.5283, allocations: 433.3 kB / 0.8429 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.5288, allocations: 222.3 kB / 0.8431 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5288, allocations: 5.562 kB / 0.8431 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.5294, allocations: 263.3 kB / 0.8433 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.5294, allocations: 0 / 0.8433 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001395/0.5308, allocations: 0.5862 MB / 0.8439 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.5308, allocations: 57.05 kB / 0.844 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.5314, allocations: 447 kB / 0.8444 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5314, allocations: 39.89 kB / 0.8444 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.5317, allocations: 327.9 kB / 0.8447 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5319, allocations: 175.6 kB / 0.8449 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.532, allocations: 92.94 kB / 0.845 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002707/0.5323, allocations: 368.5 kB / 0.8454 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.5327, allocations: 165.5 kB / 0.8455 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.5332, allocations: 253.6 kB / 0.8458 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5343, allocations: 451.4 kB / 0.8462 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5343, allocations: 0.5 kB / 0.8462 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001267/0.5356, allocations: 0.5692 MB / 0.8467 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.5356, allocations: 33.17 kB / 0.8468 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5356, allocations: 2.281 kB / 0.8468 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5356, allocations: 4.875 kB / 0.8468 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.5361, allocations: 114.2 kB / 0.8469 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.5361, allocations: 9.625 kB / 0.8469 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.5365, allocations: 56.48 kB / 0.847 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.5365, allocations: 18.34 kB / 0.847 GB, free: 6.941 MB / 0.5919 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002664/0.5368, allocations: 209.4 kB / 0.8472 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.5369, allocations: 62.97 kB / 0.8472 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.537, allocations: 68.67 kB / 0.8473 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.537, allocations: 5.266 kB / 0.8473 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.5371, allocations: 4.844 kB / 0.8473 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5371, allocations: 2.438 kB / 0.8473 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.5391, allocations: 1.175 MB / 0.8485 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5391, allocations: 4 kB / 0.8485 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.5396, allocations: 99.25 kB / 0.8486 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5396, allocations: 2.484 kB / 0.8486 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.5397, allocations: 12.61 kB / 0.8486 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5397, allocations: 2.406 kB / 0.8486 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5397, allocations: 0 / 0.8486 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.5412, allocations: 0.7641 MB / 0.8493 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.5414, allocations: 175.7 kB / 0.8495 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.5414, allocations: 7.188 kB / 0.8495 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.5417, allocations: 26.06 kB / 0.8495 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5418, allocations: 32.16 kB / 0.8495 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5418, allocations: 15.48 kB / 0.8496 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003772/0.5422, allocations: 313.1 kB / 0.8499 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5422, allocations: 0 / 0.8499 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004615/0.5427, allocations: 145.9 kB / 0.85 GB, free: 5.199 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.00197/0.5447, allocations: 1.327 MB / 0.8513 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.5457, allocations: 460.8 kB / 0.8517 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5457, allocations: 4 kB / 0.8517 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.5462, allocations: 200.5 kB / 0.8519 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.547, allocations: 158.8 kB / 0.8521 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.5555, allocations: 4.813 MB / 0.8568 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.556, allocations: 0.8873 MB / 0.8576 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.5563, allocations: 68.17 kB / 0.8577 GB, free: 368 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.5567, allocations: 223 kB / 0.8579 GB, free: 196 kB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.5567, allocations: 0 / 0.8579 GB, free: 196 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.5927, allocations: 11.44 MB / 0.8691 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.52, allocations: 14.39 kB / 0.8691 GB, free: 11.2 MB / 0.6075 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.628330003994051] Failed to read output from testmodel.py, exit status != 0: 9.65413656499004 9.668903574 9.146959871 Calling exit ...