Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003396/0.003396, allocations: 289 kB / 304.8 MB, free: 3.52 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 180.9 MB / 0.5282 GB, free: 1.938 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003027/0.003027, allocations: 99.84 kB / 0.7278 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5919, allocations: 94.16 MB / 0.8198 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.01076/0.6027, allocations: 4.979 MB / 0.8246 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2323/0.835, allocations: 151.2 MB / 0.9722 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.8363, allocations: 15.94 kB / 0.9723 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009753/0.8372, allocations: 186.2 kB / 0.9724 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.8398, allocations: 0.5581 MB / 0.973 GB, free: 424 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.8426, allocations: 0.841 MB / 0.9738 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.8454, allocations: 1.369 MB / 0.9751 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.8465, allocations: 417.2 kB / 0.9755 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/0.8474, allocations: 486.3 kB / 0.976 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.8484, allocations: 0.494 MB / 0.9765 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.8488, allocations: 112 kB / 0.9766 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.8505, allocations: 491.5 kB / 0.9771 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.851, allocations: 299 kB / 0.9773 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.8521, allocations: 0.548 MB / 0.9779 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.8554, allocations: 1.63 MB / 0.9795 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8554, allocations: 0 / 0.9795 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8554, allocations: 4 kB / 0.9795 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.653e-05/0.8554, allocations: 0 / 0.9795 GB, free: 9.723 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003701/0.8591, allocations: 1.463 MB / 0.9809 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8592, allocations: 12.03 kB / 0.9809 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.8594, allocations: 131.3 kB / 0.981 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.8605, allocations: 192.1 kB / 0.9812 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.862, allocations: 0.7746 MB / 0.982 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.862, allocations: 61.98 kB / 0.982 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.8621, allocations: 80 kB / 0.9821 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.8639, allocations: 0.9114 MB / 0.983 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.8639, allocations: 0 / 0.983 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.864, allocations: 32 kB / 0.983 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.864, allocations: 20 kB / 0.9831 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.866, allocations: 1.104 MB / 0.9841 GB, free: 4.805 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.8706, allocations: 2.749 MB / 0.9868 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.8721, allocations: 0.743 MB / 0.9875 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.8727, allocations: 266.7 kB / 0.9878 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/0.8727, allocations: 32.61 kB / 0.9878 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.8736, allocations: 487.3 kB / 0.9883 GB, free: 404 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.464e-06/0.8736, allocations: 0 / 0.9883 GB, free: 404 kB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.00335/0.877, allocations: 1.179 MB / 0.9894 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.8771, allocations: 188.6 kB / 0.9896 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/0.878, allocations: 0.6332 MB / 0.9902 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.8781, allocations: 41.7 kB / 0.9903 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.8785, allocations: 408.9 kB / 0.9907 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.8787, allocations: 265.7 kB / 0.9909 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.879, allocations: 146.6 kB / 0.9911 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.8792, allocations: 390.7 kB / 0.9914 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.8797, allocations: 241.9 kB / 0.9917 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.8804, allocations: 363.4 kB / 0.992 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8815, allocations: 0.5729 MB / 0.9926 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8815, allocations: 7.938 kB / 0.9926 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001987/0.8835, allocations: 0.7984 MB / 0.9934 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8836, allocations: 4 kB / 0.9934 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8836, allocations: 4 kB / 0.9934 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/0.8842, allocations: 84.84 kB / 0.9934 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.8848, allocations: 147.8 kB / 0.9936 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.8871, allocations: 1.63 MB / 0.9952 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.8877, allocations: 83.52 kB / 0.9953 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.8878, allocations: 31.98 kB / 0.9953 GB, free: 8.914 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.8883, allocations: 269.7 kB / 0.9955 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.8885, allocations: 87.62 kB / 0.9956 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.8909, allocations: 1.05 MB / 0.9967 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.8909, allocations: 11.98 kB / 0.9967 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8909, allocations: 3.938 kB / 0.9967 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.8909, allocations: 3.984 kB / 0.9967 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.8922, allocations: 0.888 MB / 0.9975 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.8922, allocations: 0 / 0.9975 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.8927, allocations: 139.8 kB / 0.9977 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.8932, allocations: 72.78 kB / 0.9977 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.8932, allocations: 27.98 kB / 0.9978 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.8953, allocations: 1.658 MB / 0.9994 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8953, allocations: 11.98 kB / 0.9994 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.8974, allocations: 0.9166 MB / 1 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.8979, allocations: 268.2 kB / 1.001 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.898, allocations: 27.94 kB / 1.001 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.8987, allocations: 61.97 kB / 1.001 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8988, allocations: 76.78 kB / 1.001 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.8989, allocations: 35.97 kB / 1.001 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007064/0.8996, allocations: 463 kB / 1.001 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8996, allocations: 0 / 1.001 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009732/0.9006, allocations: 323.1 kB / 1.001 GB, free: 2.297 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004385/0.905, allocations: 1.962 MB / 1.003 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.9067, allocations: 0.7573 MB / 1.004 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.9068, allocations: 7.984 kB / 1.004 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.9077, allocations: 488.2 kB / 1.005 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.909, allocations: 299.6 kB / 1.005 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.9238, allocations: 6.175 MB / 1.011 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.9251, allocations: 1.023 MB / 1.012 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001155/0.9263, allocations: 258.7 kB / 1.012 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.927, allocations: 395.3 kB / 1.013 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of SimCode: time 1.332e-06/0.927, allocations: 0 / 1.013 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/1.012, allocations: 21.64 MB / 1.034 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.43, allocations: 10.28 kB / 1.034 GB, free: 1.566 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.526373866014183] Failed to read output from testmodel.py, exit status != 0: 14.639218486991012 14.669134192 13.808060458 Calling exit ...