Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.00123/0.00123, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001315/0.001315, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.8368/0.8368, allocations: 133.9 MB / 442.8 MB, free: 11.26 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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.00192/0.00192, allocations: 66.53 kB / 0.6134 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.193, allocations: 85.85 MB / 0.6972 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6558/0.8489, allocations: 166.7 MB / 0.86 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04454/0.8934, allocations: 27.6 MB / 0.8869 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005456/0.8989, allocations: 111.2 kB / 0.887 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.9025, allocations: 1.15 MB / 0.8882 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009097/0.9116, allocations: 1.952 MB / 0.8901 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006805/0.9184, allocations: 1.957 MB / 0.892 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009953/0.9284, allocations: 5.886 MB / 0.8977 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006707/0.9351, allocations: 3.987 MB / 0.9016 GB, free: 6.855 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.941, allocations: 2.41 MB / 0.904 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.9465, allocations: 2.919 MB / 0.9068 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.9481, allocations: 0.5234 MB / 0.9073 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.9517, allocations: 1.175 MB / 0.9085 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.9534, allocations: 1.386 MB / 0.9098 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004119/0.9575, allocations: 2.399 MB / 0.9122 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.9682, allocations: 6.86 MB / 0.9189 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9682, allocations: 0 / 0.9189 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9682, allocations: 0 / 0.9189 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002373/0.9685, allocations: 0 / 0.9189 GB, free: 5.129 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01462/0.9831, allocations: 5.276 MB / 0.924 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.9832, allocations: 9.109 kB / 0.924 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008546/0.984, allocations: 0.5104 MB / 0.9245 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/1.002, allocations: 3.211 MB / 0.9277 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/1.009, allocations: 2.579 MB / 0.9302 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/1.009, allocations: 283.5 kB / 0.9305 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/1.01, allocations: 372 kB / 0.9308 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/1.026, allocations: 5.724 MB / 0.9364 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.33e-05/1.026, allocations: 7.984 kB / 0.9364 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/1.027, allocations: 152 kB / 0.9366 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-05/1.027, allocations: 95.94 kB / 0.9367 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/1.046, allocations: 6.858 MB / 0.9434 GB, free: 11.83 MB / 0.7169 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.04022/1.086, allocations: 17.3 MB / 0.9603 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.098, allocations: 4.215 MB / 0.9644 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007467/1.105, allocations: 2.713 MB / 0.967 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.107, allocations: 0.6778 MB / 0.9677 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007862/1.115, allocations: 2.733 MB / 0.9703 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=315): time 5.811e-06/1.115, allocations: 0 / 0.9703 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=315): time 0.03197/1.147, allocations: 9.676 MB / 0.9798 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/1.147, allocations: 214.4 kB / 0.98 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/1.152, allocations: 2.695 MB / 0.9826 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.154, allocations: 77.7 kB / 0.9827 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002097/1.156, allocations: 1.592 MB / 0.9843 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.158, allocations: 1.096 MB / 0.9853 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/1.159, allocations: 0.5251 MB / 0.9858 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.159, allocations: 305.1 kB / 0.9861 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00569/1.165, allocations: 2.168 MB / 0.9883 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006229/1.171, allocations: 2.513 MB / 0.9907 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.184, allocations: 4.684 MB / 0.9953 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/1.184, allocations: 0 / 0.9953 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01808/1.202, allocations: 5.737 MB / 1.001 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/1.202, allocations: 4.094 kB / 1.001 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.202, allocations: 7.938 kB / 1.001 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/1.204, allocations: 0.8279 MB / 1.002 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/1.209, allocations: 0.7956 MB / 1.002 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/1.223, allocations: 7.577 MB / 1.01 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/1.228, allocations: 0.5681 MB / 1.01 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009825/1.229, allocations: 119.9 kB / 1.011 GB, free: 5.492 MB / 0.7794 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003702/1.232, allocations: 1.024 MB / 1.012 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/1.234, allocations: 329.9 kB / 1.012 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/1.255, allocations: 6.348 MB / 1.018 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/1.255, allocations: 32 kB / 1.018 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/1.255, allocations: 8 kB / 1.018 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.499e-05/1.255, allocations: 15.94 kB / 1.018 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03041/1.285, allocations: 10.71 MB / 1.029 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.285, allocations: 0 / 1.029 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004623/1.29, allocations: 0.7684 MB / 1.029 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/1.292, allocations: 0.7341 MB / 1.03 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008329/1.293, allocations: 83.92 kB / 1.03 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/1.309, allocations: 10.69 MB / 1.041 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.309, allocations: 3.984 kB / 1.041 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/1.335, allocations: 9.059 MB / 1.049 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003008/1.338, allocations: 0.912 MB / 1.05 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.339, allocations: 67.95 kB / 1.05 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004145/1.344, allocations: 409.1 kB / 1.051 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000925/1.345, allocations: 210.2 kB / 1.051 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006342/1.345, allocations: 107.9 kB / 1.051 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00453/1.35, allocations: 1.96 MB / 1.053 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.1e-08/1.35, allocations: 0 / 1.053 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005424/1.355, allocations: 1.232 MB / 1.054 GB, free: 8.031 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.4363/1.791, allocations: 10.54 MB / 1.064 GB, free: 301.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02065/1.812, allocations: 5.303 MB / 1.07 GB, free: 301.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.812, allocations: 2 kB / 1.07 GB, free: 301.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/1.823, allocations: 3.155 MB / 1.073 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/1.828, allocations: 0.7758 MB / 1.073 GB, free: 299.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06929/1.897, allocations: 33.34 MB / 1.106 GB, free: 287 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.899, allocations: 2.703 MB / 1.109 GB, free: 284.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003854/1.903, allocations: 1.169 MB / 1.11 GB, free: 283.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.905, allocations: 1.651 MB / 1.111 GB, free: 281.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.743e-06/1.905, allocations: 3.5 kB / 1.111 GB, free: 281.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/2.043, allocations: 82.66 MB / 1.192 GB, free: 199.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/21.75, allocations: 3.25 kB / 1.192 GB, free: 199.2 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements_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_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.71008896299463] Failed to read output from testmodel.py, exit status != 0: 22.043635982990963 22.064075082 21.091563928 Calling exit ...