Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001683/0.001683, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001872/0.001872, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.401/1.401, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8246/0.8246, allocations: 132.2 MB / 429.4 MB, free: 5.938 MB / 334.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/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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 65.98 kB / 0.5893 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 80.22 MB / 0.6677 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.654/0.831, allocations: 160.1 MB / 0.824 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03932/0.8704, allocations: 26.61 MB / 0.85 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.8747, allocations: 71.62 kB / 0.8501 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.8776, allocations: 0.9749 MB / 0.851 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005905/0.8835, allocations: 1.614 MB / 0.8526 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004805/0.8883, allocations: 1.644 MB / 0.8542 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006727/0.8951, allocations: 4.571 MB / 0.8587 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/0.9009, allocations: 4.095 MB / 0.8627 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.9052, allocations: 1.929 MB / 0.8646 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.9093, allocations: 2.334 MB / 0.8668 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.9104, allocations: 428 kB / 0.8673 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.9132, allocations: 1.034 MB / 0.8683 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.9144, allocations: 1.106 MB / 0.8693 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.9174, allocations: 1.932 MB / 0.8712 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009075/0.9264, allocations: 5.535 MB / 0.8766 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9265, allocations: 0 / 0.8766 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9265, allocations: 0 / 0.8766 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001594/0.9267, allocations: 0 / 0.8766 GB, free: 15.44 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01056/0.9372, allocations: 4.425 MB / 0.881 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.9373, allocations: 12.02 kB / 0.881 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006308/0.9379, allocations: 430.2 kB / 0.8814 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.9515, allocations: 2.774 MB / 0.8841 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.9564, allocations: 2.228 MB / 0.8863 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.9567, allocations: 230.2 kB / 0.8865 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007184/0.9574, allocations: 307.9 kB / 0.8868 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.969, allocations: 4.956 MB / 0.8916 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/0.9691, allocations: 0 / 0.8916 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.9695, allocations: 135.9 kB / 0.8917 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.9695, allocations: 87.94 kB / 0.8918 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.9847, allocations: 6.095 MB / 0.8978 GB, free: 9.535 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.02723/1.012, allocations: 13.57 MB / 0.911 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.023, allocations: 4.344 MB / 0.9153 GB, free: 7.172 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005678/1.029, allocations: 2.319 MB / 0.9175 GB, free: 4.852 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.03, allocations: 0.6735 MB / 0.9182 GB, free: 4.047 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006087/1.036, allocations: 2.37 MB / 0.9205 GB, free: 1.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 5.73e-06/1.036, allocations: 4 kB / 0.9205 GB, free: 1.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.01938/1.055, allocations: 6.952 MB / 0.9273 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.055, allocations: 210 kB / 0.9275 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/1.06, allocations: 2.307 MB / 0.9298 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004863/1.06, allocations: 69.7 kB / 0.9298 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.062, allocations: 1.328 MB / 0.9311 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.063, allocations: 0.8947 MB / 0.932 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.065, allocations: 468.1 kB / 0.9324 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.065, allocations: 301.1 kB / 0.9327 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005061/1.07, allocations: 1.874 MB / 0.9346 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005528/1.076, allocations: 2.188 MB / 0.9367 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.086, allocations: 4.037 MB / 0.9406 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.086, allocations: 0 / 0.9406 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01298/1.099, allocations: 4.668 MB / 0.9452 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/1.099, allocations: 8 kB / 0.9452 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.099, allocations: 4 kB / 0.9452 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/1.1, allocations: 232.8 kB / 0.9454 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/1.104, allocations: 0.7683 MB / 0.9462 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/1.108, allocations: 3.367 MB / 0.9495 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/1.112, allocations: 0.5315 MB / 0.95 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005228/1.113, allocations: 99.92 kB / 0.9501 GB, free: 2.738 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 263 * 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): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002352/1.115, allocations: 0.8953 MB / 0.951 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009538/1.116, allocations: 274.2 kB / 0.9512 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.13, allocations: 5.269 MB / 0.9564 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.13, allocations: 24 kB / 0.9564 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.13, allocations: 4.109 kB / 0.9564 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/1.13, allocations: 23.81 kB / 0.9564 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/1.151, allocations: 8.819 MB / 0.965 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.151, allocations: 0 / 0.965 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003841/1.155, allocations: 0.7215 MB / 0.9657 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000913/1.155, allocations: 266.3 kB / 0.966 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004229/1.156, allocations: 71.94 kB / 0.9661 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/1.162, allocations: 5.232 MB / 0.9712 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.162, allocations: 0 / 0.9712 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.181, allocations: 7.546 MB / 0.9785 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.183, allocations: 0.7836 MB / 0.9793 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008076/1.184, allocations: 59.95 kB / 0.9794 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003286/1.187, allocations: 387.4 kB / 0.9797 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/1.188, allocations: 165.9 kB / 0.9799 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.188, allocations: 99.88 kB / 0.98 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003314/1.192, allocations: 1.688 MB / 0.9816 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.192, allocations: 0 / 0.9816 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003445/1.195, allocations: 0.9819 MB / 0.9826 GB, free: 0.793 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0228/1.218, allocations: 9.045 MB / 0.9914 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.23, allocations: 4.561 MB / 0.9959 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.23, allocations: 0 / 0.9959 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006682/1.237, allocations: 2.608 MB / 0.9984 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/1.241, allocations: 0.6368 MB / 0.999 GB, free: 224 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06434/1.306, allocations: 27.68 MB / 1.026 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.309, allocations: 2.37 MB / 1.028 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004554/1.313, allocations: 1.082 MB / 1.029 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/1.316, allocations: 1.37 MB / 1.031 GB, free: 15.3 MB / 0.795 GB Notification: Performance of SimCode: time 8.91e-07/1.316, allocations: 0 / 1.031 GB, free: 15.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.539/1.855, allocations: 66.39 MB / 1.096 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/19.6, allocations: 17.64 kB / 1.096 GB, free: 300.7 MB / 0.8106 GB " [Timeout remaining time 640] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.287943630013615] Failed to read output from testmodel.py, exit status != 0: 19.834657439030707 19.850036267 18.920731375 Calling exit ...