Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001247/0.001247, allocations: 109 kB / 17.54 MB, free: 4.781 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.00127/0.00127, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.346/1.346, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9914/0.9914, allocations: 175.7 MB / 480.1 MB, free: 3.137 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 66.58 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1698, allocations: 94.53 MB / 0.7601 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.5192/0.689, allocations: 166.8 MB / 0.923 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.7013, allocations: 7.944 MB / 0.9307 GB, free: 4.281 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.7026, allocations: 34.69 kB / 0.9308 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.7039, allocations: 419.9 kB / 0.9312 GB, free: 3.914 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.7073, allocations: 1.354 MB / 0.9325 GB, free: 2.883 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.71, allocations: 1.197 MB / 0.9337 GB, free: 1.953 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002734/0.7128, allocations: 2.373 MB / 0.936 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.7142, allocations: 0.9742 MB / 0.9369 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.7155, allocations: 0.8519 MB / 0.9378 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.7168, allocations: 0.8163 MB / 0.9386 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.7169, allocations: 149.2 kB / 0.9387 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.7188, allocations: 1.167 MB / 0.9398 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.7192, allocations: 435.2 kB / 0.9402 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.7199, allocations: 0.7828 MB / 0.941 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.7229, allocations: 2.418 MB / 0.9434 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7229, allocations: 6.75 kB / 0.9434 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7229, allocations: 0 / 0.9434 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.7229, allocations: 0 / 0.9434 GB, free: 11.59 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003738/0.7267, allocations: 1.931 MB / 0.9453 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.7267, allocations: 9.969 kB / 0.9453 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002302/0.727, allocations: 167.1 kB / 0.9454 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.7289, allocations: 335.5 kB / 0.9458 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.7305, allocations: 1.028 MB / 0.9468 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.7306, allocations: 83.61 kB / 0.9468 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.7308, allocations: 113.5 kB / 0.9469 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.7326, allocations: 1.178 MB / 0.9481 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.7326, allocations: 3.938 kB / 0.9481 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.7327, allocations: 56.61 kB / 0.9482 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.7328, allocations: 37.78 kB / 0.9482 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.7347, allocations: 1.3 MB / 0.9495 GB, free: 7.469 MB / 0.6856 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.005362/0.7401, allocations: 3.901 MB / 0.9533 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.7418, allocations: 0.9446 MB / 0.9542 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.7424, allocations: 382.8 kB / 0.9546 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.7425, allocations: 25.05 kB / 0.9546 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009896/0.7435, allocations: 0.5954 MB / 0.9552 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=102): time 2.485e-06/0.7435, allocations: 0 / 0.9552 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.003512/0.747, allocations: 1.446 MB / 0.9566 GB, free: 276 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7471, allocations: 192.9 kB / 0.9568 GB, free: 36 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.7482, allocations: 0.8341 MB / 0.9576 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.7483, allocations: 45.7 kB / 0.9576 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.7487, allocations: 0.5363 MB / 0.9581 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.749, allocations: 353 kB / 0.9585 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.7493, allocations: 182.5 kB / 0.9587 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7494, allocations: 341.9 kB / 0.959 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.75, allocations: 321.8 kB / 0.9593 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.7508, allocations: 479.6 kB / 0.9597 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.7522, allocations: 0.7736 MB / 0.9605 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7522, allocations: 0 / 0.9605 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002177/0.7544, allocations: 1.04 MB / 0.9615 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7544, allocations: 10.03 kB / 0.9615 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7544, allocations: 0 / 0.9615 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/0.755, allocations: 84.95 kB / 0.9616 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.7558, allocations: 203.7 kB / 0.9618 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.758, allocations: 1.634 MB / 0.9634 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008797/0.7589, allocations: 107.4 kB / 0.9635 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.7589, allocations: 35.98 kB / 0.9635 GB, free: 8.816 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0004564/0.7594, allocations: 325.6 kB / 0.9638 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.7596, allocations: 119.2 kB / 0.964 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.7622, allocations: 1.246 MB / 0.9652 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.7622, allocations: 12 kB / 0.9652 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7622, allocations: 0 / 0.9652 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7622, allocations: 3.984 kB / 0.9652 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.7636, allocations: 1.169 MB / 0.9663 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7636, allocations: 0 / 0.9663 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.7645, allocations: 207.7 kB / 0.9665 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.7649, allocations: 72.78 kB / 0.9666 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.765, allocations: 31.98 kB / 0.9666 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.7669, allocations: 1.674 MB / 0.9683 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7669, allocations: 0 / 0.9683 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.7699, allocations: 1.578 MB / 0.9698 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.7703, allocations: 332 kB / 0.9701 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.7704, allocations: 24 kB / 0.9701 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.7712, allocations: 71.92 kB / 0.9702 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7714, allocations: 76.89 kB / 0.9703 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.7715, allocations: 43.97 kB / 0.9703 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000758/0.7722, allocations: 0.5821 MB / 0.9709 GB, free: 1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7722, allocations: 4 kB / 0.9709 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009874/0.7732, allocations: 427 kB / 0.9713 GB, free: 0.5781 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005122/0.7783, allocations: 2.653 MB / 0.9739 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.7802, allocations: 0.933 MB / 0.9748 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7802, allocations: 0 / 0.9748 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.7812, allocations: 0.5626 MB / 0.9754 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.783, allocations: 499.1 kB / 0.9758 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.7965, allocations: 8.253 MB / 0.9839 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/0.7973, allocations: 1.146 MB / 0.985 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009868/0.7983, allocations: 333.1 kB / 0.9853 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.7991, allocations: 0.5071 MB / 0.9858 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.7991, allocations: 0 / 0.9858 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0743/0.8734, allocations: 29.82 MB / 1.015 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.51, allocations: 7.125 kB / 1.015 GB, free: 4.086 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.320140808005817]