Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.001726/0.001726, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002229/0.002229, allocations: 212.8 kB / 22.24 MB, free: 5.246 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.797 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.8862/0.8862, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.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.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001999/0.001999, allocations: 76.55 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1837, allocations: 85.91 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6288/0.8125, allocations: 141.9 MB / 0.841 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04027/0.8528, allocations: 24.55 MB / 0.8649 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.8564, allocations: 95.25 kB / 0.865 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.8597, allocations: 1.03 MB / 0.866 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.8657, allocations: 1.742 MB / 0.8677 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.8705, allocations: 1.712 MB / 0.8694 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007469/0.878, allocations: 4.875 MB / 0.8742 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005666/0.8837, allocations: 3.094 MB / 0.8772 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.8881, allocations: 2.114 MB / 0.8792 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.8929, allocations: 2.538 MB / 0.8817 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.8948, allocations: 452 kB / 0.8821 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.8983, allocations: 1.03 MB / 0.8832 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.9006, allocations: 1.188 MB / 0.8843 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003958/0.9045, allocations: 1.656 MB / 0.8859 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009453/0.914, allocations: 5.926 MB / 0.8917 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.914, allocations: 0 / 0.8917 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.914, allocations: 0 / 0.8917 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002215/0.9142, allocations: 0 / 0.8917 GB, free: 0.8828 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0122/0.9264, allocations: 4.566 MB / 0.8962 GB, free: 12.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.9265, allocations: 15.97 kB / 0.8962 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008812/0.9273, allocations: 451.1 kB / 0.8966 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.9439, allocations: 3.149 MB / 0.8997 GB, free: 8.629 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/0.9495, allocations: 2.263 MB / 0.9019 GB, free: 6.301 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.9498, allocations: 242.5 kB / 0.9021 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007502/0.9505, allocations: 319.9 kB / 0.9024 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.9626, allocations: 5.47 MB / 0.9078 GB, free: 124 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.9627, allocations: 0 / 0.9078 GB, free: 124 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.963, allocations: 132 kB / 0.9079 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/0.9631, allocations: 91.92 kB / 0.908 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.978, allocations: 6.234 MB / 0.9141 GB, free: 9.656 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.02602/1.004, allocations: 11.8 MB / 0.9256 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.014, allocations: 4.296 MB / 0.9298 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/1.019, allocations: 2.286 MB / 0.932 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/1.02, allocations: 134.1 kB / 0.9322 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005478/1.025, allocations: 2.595 MB / 0.9347 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=270): time 5.71e-06/1.025, allocations: 3.938 kB / 0.9347 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=270): time 0.01915/1.045, allocations: 7.307 MB / 0.9418 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.045, allocations: 214 kB / 0.942 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.048, allocations: 2.454 MB / 0.9444 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/1.049, allocations: 73.7 kB / 0.9445 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.05, allocations: 1.399 MB / 0.9459 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.051, allocations: 0.9412 MB / 0.9468 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000876/1.052, allocations: 476.4 kB / 0.9473 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.052, allocations: 309.1 kB / 0.9475 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/1.057, allocations: 1.956 MB / 0.9495 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.062, allocations: 2.464 MB / 0.9519 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009692/1.072, allocations: 4.215 MB / 0.956 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.072, allocations: 0 / 0.956 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01199/1.084, allocations: 4.924 MB / 0.9608 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/1.084, allocations: 4 kB / 0.9608 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.084, allocations: 4 kB / 0.9608 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/1.085, allocations: 340.8 kB / 0.9611 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/1.089, allocations: 0.7722 MB / 0.9619 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/1.096, allocations: 4.099 MB / 0.9659 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.1, allocations: 0.5233 MB / 0.9664 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.1, allocations: 107.9 kB / 0.9665 GB, free: 3.191 MB / 0.7325 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00226/1.102, allocations: 0.9304 MB / 0.9674 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007572/1.103, allocations: 290.1 kB / 0.9677 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.117, allocations: 5.561 MB / 0.9731 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.117, allocations: 32 kB / 0.9731 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.117, allocations: 4 kB / 0.9731 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/1.117, allocations: 15.89 kB / 0.9732 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.136, allocations: 8.841 MB / 0.9818 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.136, allocations: 0 / 0.9818 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/1.14, allocations: 0.7293 MB / 0.9825 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/1.141, allocations: 390.5 kB / 0.9829 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/1.141, allocations: 79.92 kB / 0.983 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/1.149, allocations: 6.048 MB / 0.9889 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.149, allocations: 0 / 0.9889 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/1.167, allocations: 7.961 MB / 0.9966 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.17, allocations: 0.7687 MB / 0.9974 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000516/1.17, allocations: 63.88 kB / 0.9974 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.173, allocations: 391.4 kB / 0.9978 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/1.174, allocations: 185.8 kB / 0.998 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.174, allocations: 99.92 kB / 0.9981 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002743/1.177, allocations: 1.789 MB / 0.9998 GB, free: 492 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.177, allocations: 0 / 0.9998 GB, free: 492 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002923/1.18, allocations: 1.029 MB / 1.001 GB, free: 15.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (257): * Single equations (assignments): 250 * 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 {(3,25,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.02275/1.202, allocations: 9.507 MB / 1.01 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.216, allocations: 4.633 MB / 1.015 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.216, allocations: 4 kB / 1.015 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007513/1.223, allocations: 2.637 MB / 1.017 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/1.228, allocations: 0.6718 MB / 1.018 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07309/1.301, allocations: 29.19 MB / 1.046 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/1.305, allocations: 1.916 MB / 1.048 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005305/1.31, allocations: 1.095 MB / 1.049 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003667/1.314, allocations: 1.46 MB / 1.051 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.874e-06/1.314, allocations: 0 / 1.051 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5186/1.832, allocations: 74.43 MB / 1.123 GB, free: 267.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/18.28, allocations: 6.031 kB / 1.123 GB, free: 267.8 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_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_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.42157319560647] Failed to read output from testmodel.py, exit status != 0: 18.5438118330203 18.554628465 17.638260717 Calling exit ...