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.001707/0.001707, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.001946/0.001946, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.578/1.578, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9382/0.9382, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.002222/0.002222, allocations: 70.48 kB / 0.6134 GB, free: 8.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.221, allocations: 85.85 MB / 0.6972 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.688/0.909, allocations: 164.3 MB / 0.8577 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04259/0.9516, allocations: 26.93 MB / 0.884 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.9561, allocations: 99.25 kB / 0.8841 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.9598, allocations: 1.033 MB / 0.8851 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007899/0.9677, allocations: 1.725 MB / 0.8868 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006254/0.974, allocations: 1.683 MB / 0.8884 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00909/0.983, allocations: 4.847 MB / 0.8932 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00626/0.9893, allocations: 3.511 MB / 0.8966 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/0.9948, allocations: 2.108 MB / 0.8987 GB, free: 9.895 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005198/1, allocations: 2.518 MB / 0.9011 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00178/1.002, allocations: 456 kB / 0.9016 GB, free: 6.922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/1.005, allocations: 1.101 MB / 0.9026 GB, free: 5.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/1.007, allocations: 1.184 MB / 0.9038 GB, free: 4.633 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003269/1.01, allocations: 2.044 MB / 0.9058 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/1.021, allocations: 5.891 MB / 0.9115 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/1.021, allocations: 4 kB / 0.9115 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.344e-06/1.021, allocations: 0 / 0.9115 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002364/1.021, allocations: 0 / 0.9115 GB, free: 12.67 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01319/1.034, allocations: 4.645 MB / 0.9161 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.034, allocations: 9.109 kB / 0.9161 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008091/1.035, allocations: 459.1 kB / 0.9165 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/1.052, allocations: 3.146 MB / 0.9196 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/1.058, allocations: 2.32 MB / 0.9219 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/1.059, allocations: 242.5 kB / 0.9221 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/1.06, allocations: 319.9 kB / 0.9224 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/1.075, allocations: 5.14 MB / 0.9274 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/1.075, allocations: 0 / 0.9274 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/1.075, allocations: 136 kB / 0.9275 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.075, allocations: 83.94 kB / 0.9276 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/1.093, allocations: 6.288 MB / 0.9338 GB, free: 5.645 MB / 0.7012 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.03198/1.125, allocations: 14.45 MB / 0.9479 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.137, allocations: 4.308 MB / 0.9521 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006112/1.143, allocations: 2.29 MB / 0.9543 GB, free: 68 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.144, allocations: 0.6657 MB / 0.955 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006608/1.151, allocations: 2.459 MB / 0.9574 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=270): time 4.729e-06/1.151, allocations: 8.188 kB / 0.9574 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=270): time 0.02106/1.172, allocations: 7.533 MB / 0.9647 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/1.172, allocations: 214 kB / 0.9649 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/1.176, allocations: 2.427 MB / 0.9673 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008184/1.177, allocations: 77.7 kB / 0.9674 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.178, allocations: 1.391 MB / 0.9687 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001628/1.18, allocations: 0.9451 MB / 0.9697 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/1.181, allocations: 480.4 kB / 0.9701 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.181, allocations: 305.1 kB / 0.9704 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/1.186, allocations: 1.944 MB / 0.9723 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/1.192, allocations: 2.267 MB / 0.9745 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.202, allocations: 4.215 MB / 0.9786 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/1.202, allocations: 4 kB / 0.9786 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01343/1.216, allocations: 4.909 MB / 0.9834 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.216, allocations: 8 kB / 0.9834 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.216, allocations: 4 kB / 0.9834 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009816/1.217, allocations: 338.1 kB / 0.9838 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/1.221, allocations: 0.7722 MB / 0.9845 GB, free: 500 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/1.228, allocations: 4.257 MB / 0.9887 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/1.233, allocations: 0.535 MB / 0.9892 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009639/1.234, allocations: 100 kB / 0.9893 GB, free: 11.46 MB / 0.7637 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.003224/1.237, allocations: 0.9349 MB / 0.9902 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.238, allocations: 282.2 kB / 0.9905 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.253, allocations: 5.541 MB / 0.9959 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/1.253, allocations: 28 kB / 0.9959 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.253, allocations: 4 kB / 0.9959 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.021e-05/1.253, allocations: 11.95 kB / 0.9959 GB, free: 4.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.275, allocations: 9.304 MB / 1.005 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.275, allocations: 0 / 1.005 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004041/1.279, allocations: 0.7293 MB / 1.006 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/1.28, allocations: 390.5 kB / 1.006 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.28, allocations: 75.94 kB / 1.006 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/1.288, allocations: 6.302 MB / 1.012 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.288, allocations: 4.031 kB / 1.012 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.308, allocations: 7.921 MB / 1.02 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.31, allocations: 0.8225 MB / 1.021 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006019/1.311, allocations: 59.88 kB / 1.021 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.314, allocations: 387.4 kB / 1.021 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.315, allocations: 181.9 kB / 1.021 GB, free: 9.875 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/1.315, allocations: 95.94 kB / 1.022 GB, free: 9.781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00281/1.318, allocations: 1.773 MB / 1.023 GB, free: 7.996 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.318, allocations: 8 kB / 1.023 GB, free: 7.988 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003402/1.321, allocations: 1.036 MB / 1.024 GB, free: 6.949 MB / 0.795 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 (254): * Single equations (assignments): 247 * 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.02278/1.344, allocations: 9.404 MB / 1.034 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.359, allocations: 4.621 MB / 1.038 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.359, allocations: 4.625 kB / 1.038 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008597/1.368, allocations: 2.616 MB / 1.041 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/1.372, allocations: 0.6723 MB / 1.041 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5179/1.89, allocations: 29.1 MB / 1.07 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/1.894, allocations: 2.456 MB / 1.072 GB, free: 301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004892/1.899, allocations: 1.102 MB / 1.073 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/1.902, allocations: 1.453 MB / 1.075 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of SimCode: time 1.213e-06/1.902, allocations: 0 / 1.075 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/2.042, allocations: 70.72 MB / 1.144 GB, free: 249 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/20.29, allocations: 19.73 kB / 1.144 GB, free: 249 MB / 0.8262 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 30.808319761999883] Failed to read output from testmodel.py, exit status != 0: 20.534529438999016 20.543824015 19.520749652 Calling exit ...