Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7433/0.7433, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.23 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 80.21 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5157/0.7217, allocations: 159.4 MB / 0.7351 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03551/0.7573, allocations: 26.87 MB / 0.7614 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.7616, allocations: 79.56 kB / 0.7614 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.7644, allocations: 0.9372 MB / 0.7623 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.7712, allocations: 1.597 MB / 0.7639 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.7761, allocations: 1.585 MB / 0.7655 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007087/0.7832, allocations: 5.457 MB / 0.7708 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005186/0.7884, allocations: 4.041 MB / 0.7747 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.7916, allocations: 1.763 MB / 0.7765 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.7952, allocations: 2.432 MB / 0.7788 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008212/0.7961, allocations: 260 kB / 0.7791 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.7985, allocations: 0.8546 MB / 0.7799 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008694/0.7994, allocations: 1.004 MB / 0.7809 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002327/0.8017, allocations: 1.942 MB / 0.7828 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00598/0.8077, allocations: 5.904 MB / 0.7886 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8077, allocations: 0 / 0.7886 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8077, allocations: 4 kB / 0.7886 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001541/0.8079, allocations: 0 / 0.7886 GB, free: 12.92 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01244/0.8203, allocations: 4.754 MB / 0.7932 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.8204, allocations: 8.031 kB / 0.7932 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007908/0.8212, allocations: 480.5 kB / 0.7937 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.8349, allocations: 2.795 MB / 0.7964 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006304/0.8412, allocations: 2.374 MB / 0.7987 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.8416, allocations: 262.9 kB / 0.799 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.8434, allocations: 339.9 kB / 0.7993 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.8575, allocations: 5.381 MB / 0.8045 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.493e-05/0.8576, allocations: 3.938 kB / 0.8046 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.858, allocations: 148 kB / 0.8047 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/0.8581, allocations: 84 kB / 0.8048 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/0.8751, allocations: 6.524 MB / 0.8111 GB, free: 5.543 MB / 0.6231 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.03667/0.9118, allocations: 15.72 MB / 0.8265 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.9222, allocations: 4.071 MB / 0.8305 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006353/0.9286, allocations: 2.659 MB / 0.8331 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.9299, allocations: 0.6697 MB / 0.8337 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007076/0.937, allocations: 2.573 MB / 0.8362 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 6.472e-06/0.9371, allocations: 0 / 0.8362 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02526/0.9623, allocations: 8.396 MB / 0.8444 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.9625, allocations: 214.1 kB / 0.8446 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/0.9677, allocations: 2.505 MB / 0.8471 GB, free: 15.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008432/0.9685, allocations: 77.7 kB / 0.8472 GB, free: 15.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.9702, allocations: 1.439 MB / 0.8486 GB, free: 14.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/0.9719, allocations: 0.9588 MB / 0.8495 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/0.974, allocations: 0.4892 MB / 0.85 GB, free: 12.74 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9741, allocations: 305.1 kB / 0.8503 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/0.9792, allocations: 2.031 MB / 0.8522 GB, free: 10.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005535/0.9848, allocations: 2.363 MB / 0.8546 GB, free: 7.957 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.9957, allocations: 4.405 MB / 0.8589 GB, free: 3.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.9957, allocations: 8 kB / 0.8589 GB, free: 3.457 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3099/1.306, allocations: 5.267 MB / 0.864 GB, free: 218.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.306, allocations: 11.47 kB / 0.864 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.306, allocations: 13.53 kB / 0.864 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.307, allocations: 0.546 MB / 0.8646 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/1.311, allocations: 0.7753 MB / 0.8653 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/1.317, allocations: 5.297 MB / 0.8705 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/1.321, allocations: 0.5593 MB / 0.871 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006071/1.322, allocations: 110.2 kB / 0.8711 GB, free: 216 MB / 0.67 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001875/1.323, allocations: 0.9662 MB / 0.8721 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007422/1.324, allocations: 286.5 kB / 0.8724 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.337, allocations: 5.897 MB / 0.8781 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.337, allocations: 27.19 kB / 0.8782 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.337, allocations: 10.28 kB / 0.8782 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/1.337, allocations: 17.41 kB / 0.8782 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.354, allocations: 9.894 MB / 0.8878 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.354, allocations: 0 / 0.8878 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.358, allocations: 0.7469 MB / 0.8886 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/1.359, allocations: 0.5249 MB / 0.8891 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/1.359, allocations: 84.97 kB / 0.8892 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/1.367, allocations: 6.959 MB / 0.896 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.367, allocations: 0 / 0.896 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/1.388, allocations: 8.392 MB / 0.9042 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/1.391, allocations: 0.8383 MB / 0.905 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.392, allocations: 64.36 kB / 0.905 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004479/1.397, allocations: 422.1 kB / 0.9054 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007469/1.397, allocations: 192.9 kB / 0.9056 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/1.398, allocations: 100.5 kB / 0.9057 GB, free: 201.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003763/1.402, allocations: 1.834 MB / 0.9075 GB, free: 200.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.402, allocations: 1.344 kB / 0.9075 GB, free: 200.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004704/1.406, allocations: 1.101 MB / 0.9086 GB, free: 200.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.03033/1.437, allocations: 9.897 MB / 0.9182 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01741/1.454, allocations: 5.064 MB / 0.9232 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.454, allocations: 1.125 kB / 0.9232 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006868/1.461, allocations: 2.946 MB / 0.9261 GB, free: 194.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/1.465, allocations: 0.6679 MB / 0.9267 GB, free: 194 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06255/1.528, allocations: 35.79 MB / 0.9617 GB, free: 162.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.531, allocations: 2.557 MB / 0.9642 GB, free: 160.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005276/1.537, allocations: 1.128 MB / 0.9653 GB, free: 159.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/1.539, allocations: 1.518 MB / 0.9668 GB, free: 157.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.82e-07/1.539, allocations: 0 / 0.9668 GB, free: 157.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09582/1.635, allocations: 72.08 MB / 1.037 GB, free: 86.12 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.635, allocations: 296.4 kB / 1.037 GB, free: 85.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.004/5.64, allocations: 3.938 kB / 1.037 GB, free: 85.73 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)