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.001724/0.001724, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002143/0.002143, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002479/0.002479, allocations: 289.7 kB / 313.5 MB, free: 2.824 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.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.004166/0.004166, allocations: 97.3 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1767, allocations: 95.38 MB / 0.8335 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005659/0.1824, allocations: 4.189 MB / 0.8376 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1848, allocations: 1.368 MB / 0.8389 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.1851, allocations: 31.75 kB / 0.8389 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1855, allocations: 122.7 kB / 0.839 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1858, allocations: 186.4 kB / 0.8392 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.1867, allocations: 435.9 kB / 0.8396 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1878, allocations: 0.9515 MB / 0.8406 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.1883, allocations: 310.9 kB / 0.8409 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.1887, allocations: 354.7 kB / 0.8412 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.1891, allocations: 330.4 kB / 0.8415 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1892, allocations: 92 kB / 0.8416 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1893, allocations: 88 kB / 0.8417 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1894, allocations: 179.4 kB / 0.8419 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.1898, allocations: 394.2 kB / 0.8422 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1909, allocations: 1.066 MB / 0.8433 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1909, allocations: 0 / 0.8433 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1909, allocations: 0 / 0.8433 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1909, allocations: 0 / 0.8433 GB, free: 14.59 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.001938/0.1928, allocations: 1.076 MB / 0.8443 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1929, allocations: 13.34 kB / 0.8443 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.321e-05/0.1929, allocations: 13.5 kB / 0.8443 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.193, allocations: 102.7 kB / 0.8444 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1932, allocations: 92.38 kB / 0.8445 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.1941, allocations: 0.5038 MB / 0.845 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.1942, allocations: 45.69 kB / 0.8451 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.1943, allocations: 56.38 kB / 0.8451 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1954, allocations: 0.6152 MB / 0.8457 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1954, allocations: 4 kB / 0.8457 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.1955, allocations: 24 kB / 0.8457 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1955, allocations: 16 kB / 0.8458 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1965, allocations: 461 kB / 0.8462 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1994, allocations: 1.943 MB / 0.8481 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.2004, allocations: 422.2 kB / 0.8485 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.2008, allocations: 222.1 kB / 0.8487 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2009, allocations: 8.438 kB / 0.8487 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.2014, allocations: 257.3 kB / 0.849 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.783e-06/0.2014, allocations: 0 / 0.849 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001337/0.2028, allocations: 0.5892 MB / 0.8495 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2028, allocations: 63.78 kB / 0.8496 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.2033, allocations: 442 kB / 0.85 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.2034, allocations: 41.69 kB / 0.8501 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.2036, allocations: 324.9 kB / 0.8504 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.2038, allocations: 174.5 kB / 0.8505 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2039, allocations: 94.3 kB / 0.8506 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2041, allocations: 366.8 kB / 0.851 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.2045, allocations: 169.2 kB / 0.8511 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.2049, allocations: 246.7 kB / 0.8514 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.2058, allocations: 455 kB / 0.8518 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2058, allocations: 0 / 0.8518 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001069/0.2069, allocations: 0.569 MB / 0.8524 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.2069, allocations: 36.2 kB / 0.8524 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2069, allocations: 7.938 kB / 0.8524 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2069, allocations: 4 kB / 0.8524 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.2074, allocations: 107.9 kB / 0.8525 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2074, allocations: 11.92 kB / 0.8525 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.2078, allocations: 55.91 kB / 0.8526 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.2078, allocations: 20 kB / 0.8526 GB, free: 4.711 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 (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.0002533/0.208, allocations: 210.4 kB / 0.8528 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.2081, allocations: 59.56 kB / 0.8529 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.2083, allocations: 61.59 kB / 0.8529 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2083, allocations: 11.98 kB / 0.8529 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2083, allocations: 0 / 0.8529 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2083, allocations: 4 kB / 0.8529 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.2101, allocations: 1.15 MB / 0.8541 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2101, allocations: 0 / 0.8541 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.2106, allocations: 95.88 kB / 0.8541 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2106, allocations: 7.938 kB / 0.8542 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2106, allocations: 8 kB / 0.8542 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2106, allocations: 4 kB / 0.8542 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2106, allocations: 7.938 kB / 0.8542 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.212, allocations: 0.7652 MB / 0.8549 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.2122, allocations: 83.64 kB / 0.855 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.2122, allocations: 15.98 kB / 0.855 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.2125, allocations: 31.92 kB / 0.855 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.2126, allocations: 36.36 kB / 0.8551 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.2126, allocations: 12 kB / 0.8551 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003494/0.213, allocations: 310.9 kB / 0.8554 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.213, allocations: 0 / 0.8554 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004301/0.2134, allocations: 143.6 kB / 0.8555 GB, free: 1.645 MB / 0.5919 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.001725/0.2152, allocations: 1.319 MB / 0.8568 GB, free: 304 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.2161, allocations: 464.7 kB / 0.8573 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2161, allocations: 4 kB / 0.8573 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.2165, allocations: 198.4 kB / 0.8574 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.2173, allocations: 157.3 kB / 0.8576 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.2247, allocations: 4.81 MB / 0.8623 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.2252, allocations: 0.89 MB / 0.8632 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000247/0.2255, allocations: 68.58 kB / 0.8632 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.2258, allocations: 219.4 kB / 0.8634 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2258, allocations: 0 / 0.8634 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.2613, allocations: 11.85 MB / 0.875 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.92, allocations: 0 / 0.875 GB, free: 13.74 MB / 0.6231 GB " [Timeout remaining time 648] (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: 16.169189876003657] Failed to read output from testmodel.py, exit status != 0: 12.093039677012712 12.117840602 11.9224408 Calling exit ...