Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001348/0.001348, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001576/0.001576, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.055/1.055, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002277/0.002277, allocations: 67.92 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1818, allocations: 89.18 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007264/0.1891, allocations: 4.722 MB / 0.7328 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5692/0.7583, allocations: 132.7 MB / 0.8624 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.7595, allocations: 23.81 kB / 0.8624 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009254/0.7604, allocations: 214 kB / 0.8626 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.7629, allocations: 0.5893 MB / 0.8632 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.7655, allocations: 0.8751 MB / 0.8641 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.7678, allocations: 1.471 MB / 0.8655 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.7686, allocations: 407.8 kB / 0.8659 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.7696, allocations: 0.5256 MB / 0.8664 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008727/0.7705, allocations: 493.6 kB / 0.8669 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.7708, allocations: 124 kB / 0.867 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.7719, allocations: 499.6 kB / 0.8675 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.7722, allocations: 319 kB / 0.8678 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.7728, allocations: 497.6 kB / 0.8682 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.775, allocations: 1.745 MB / 0.8699 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.775, allocations: 4 kB / 0.8699 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.775, allocations: 0 / 0.8699 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.775, allocations: 0 / 0.8699 GB, free: 4.156 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002716/0.7777, allocations: 1.478 MB / 0.8714 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7778, allocations: 16.03 kB / 0.8714 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.7779, allocations: 140.2 kB / 0.8715 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.7794, allocations: 239.9 kB / 0.8718 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.7807, allocations: 0.7385 MB / 0.8725 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.7807, allocations: 66.88 kB / 0.8726 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7809, allocations: 84 kB / 0.8726 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.7827, allocations: 1.205 MB / 0.8738 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.7827, allocations: 0 / 0.8738 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.7828, allocations: 36.05 kB / 0.8738 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.7828, allocations: 24.94 kB / 0.8739 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.7848, allocations: 1.093 MB / 0.8749 GB, free: 14.88 MB / 0.6544 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.004426/0.7892, allocations: 2.309 MB / 0.8772 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.7909, allocations: 0.7985 MB / 0.878 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.7914, allocations: 294.7 kB / 0.8782 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.7915, allocations: 24.64 kB / 0.8783 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.7925, allocations: 0.6127 MB / 0.8789 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 4.548e-06/0.7925, allocations: 11.98 kB / 0.8789 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003409/0.7959, allocations: 1.176 MB / 0.88 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.7961, allocations: 188.9 kB / 0.8802 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.7971, allocations: 0.6763 MB / 0.8809 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.7972, allocations: 45.7 kB / 0.8809 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.7976, allocations: 429.1 kB / 0.8813 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.7979, allocations: 285.5 kB / 0.8816 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.7981, allocations: 154.6 kB / 0.8817 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.7984, allocations: 390.8 kB / 0.8821 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.7989, allocations: 253.9 kB / 0.8824 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.7997, allocations: 0.4913 MB / 0.8828 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.8009, allocations: 0.6125 MB / 0.8834 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8009, allocations: 0 / 0.8834 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002118/0.8031, allocations: 0.8413 MB / 0.8843 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8031, allocations: 4 kB / 0.8843 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8031, allocations: 0 / 0.8843 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.8037, allocations: 88.86 kB / 0.8843 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.8044, allocations: 160.5 kB / 0.8845 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.8068, allocations: 1.526 MB / 0.886 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.8077, allocations: 91.41 kB / 0.8861 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.8078, allocations: 35.98 kB / 0.8861 GB, free: 3.027 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.000715/0.8085, allocations: 265.8 kB / 0.8864 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.8088, allocations: 95.39 kB / 0.8865 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.8117, allocations: 1.099 MB / 0.8875 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.8117, allocations: 8 kB / 0.8875 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8117, allocations: 8 kB / 0.8875 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8117, allocations: 3.984 kB / 0.8875 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.813, allocations: 0.7857 MB / 0.8883 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.813, allocations: 4 kB / 0.8883 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.8136, allocations: 151.8 kB / 0.8885 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.8141, allocations: 76.72 kB / 0.8885 GB, free: 484 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/0.8142, allocations: 27.97 kB / 0.8886 GB, free: 456 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.8164, allocations: 1.547 MB / 0.8901 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8164, allocations: 0 / 0.8901 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.8193, allocations: 1.371 MB / 0.8914 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.8198, allocations: 211 kB / 0.8916 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.82, allocations: 27.92 kB / 0.8916 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/0.8207, allocations: 64.84 kB / 0.8917 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8208, allocations: 72.86 kB / 0.8918 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.8209, allocations: 39.97 kB / 0.8918 GB, free: 12.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007082/0.8216, allocations: 495 kB / 0.8923 GB, free: 12.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8216, allocations: 0 / 0.8923 GB, free: 12.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009635/0.8226, allocations: 331.2 kB / 0.8926 GB, free: 12.18 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.005235/0.8278, allocations: 2.469 MB / 0.895 GB, free: 9.934 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.8296, allocations: 0.7961 MB / 0.8958 GB, free: 9.129 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8296, allocations: 0 / 0.8958 GB, free: 9.129 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.8306, allocations: 0.5004 MB / 0.8963 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.8319, allocations: 313.8 kB / 0.8966 GB, free: 8.328 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.8438, allocations: 6.609 MB / 0.903 GB, free: 1.566 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.8443, allocations: 462.4 kB / 0.9035 GB, free: 1.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008834/0.8452, allocations: 275.1 kB / 0.9037 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.8459, allocations: 411.3 kB / 0.9041 GB, free: 420 kB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.8459, allocations: 3.938 kB / 0.9041 GB, free: 416 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07066/0.9165, allocations: 24.22 MB / 0.9278 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.11, allocations: 10.12 kB / 0.9278 GB, free: 8.473 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.337717379443347] Failed to read output from testmodel.py, exit status != 0: 15.334342792630196 15.351403813 14.573024977 Calling exit ...