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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001269/0.001269, allocations: 189.4 kB / 16.25 MB, free: 6.148 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.62 kB / 0.5013 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4285, allocations: 80.2 MB / 0.5797 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.192/0.6206, allocations: 160.8 MB / 0.7367 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04212/0.6627, allocations: 27.09 MB / 0.7632 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005074/0.6679, allocations: 79.56 kB / 0.7633 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.6714, allocations: 0.9954 MB / 0.7642 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007011/0.6785, allocations: 1.729 MB / 0.7659 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005952/0.6844, allocations: 1.781 MB / 0.7677 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009361/0.6938, allocations: 5.858 MB / 0.7734 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/0.7029, allocations: 4.885 MB / 0.7782 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.7087, allocations: 2.321 MB / 0.7804 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005257/0.714, allocations: 2.869 MB / 0.7832 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002307/0.7163, allocations: 0.5234 MB / 0.7837 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.7204, allocations: 1.101 MB / 0.7848 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002853/0.7233, allocations: 1.375 MB / 0.7862 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005513/0.7288, allocations: 2.399 MB / 0.7885 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.7399, allocations: 6.644 MB / 0.795 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7399, allocations: 4 kB / 0.795 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.685e-06/0.74, allocations: 0 / 0.795 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003035/0.7403, allocations: 0 / 0.795 GB, free: 4.445 MB / 0.6231 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.01656/0.7568, allocations: 5.102 MB / 0.8 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.7569, allocations: 8.031 kB / 0.8 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/0.759, allocations: 0.5142 MB / 0.8005 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7735, allocations: 2.83 MB / 0.8032 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007086/0.7807, allocations: 2.529 MB / 0.8057 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.7811, allocations: 279.5 kB / 0.806 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.7827, allocations: 371.9 kB / 0.8063 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.8008, allocations: 5.728 MB / 0.8119 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.8011, allocations: 4 kB / 0.8119 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/0.8024, allocations: 159.9 kB / 0.8121 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.733e-05/0.8026, allocations: 92 kB / 0.8122 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3484/1.151, allocations: 6.852 MB / 0.8189 GB, free: 213.5 MB / 0.6387 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.03803/1.189, allocations: 17.37 MB / 0.8358 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.2, allocations: 4.496 MB / 0.8402 GB, free: 201 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006511/1.206, allocations: 2.941 MB / 0.8431 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.207, allocations: 0.6878 MB / 0.8438 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006313/1.214, allocations: 2.72 MB / 0.8464 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 6.532e-06/1.214, allocations: 0 / 0.8464 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02833/1.242, allocations: 9.692 MB / 0.8559 GB, free: 191 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.242, allocations: 214.4 kB / 0.8561 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.246, allocations: 2.65 MB / 0.8587 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007939/1.247, allocations: 85.7 kB / 0.8587 GB, free: 188 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.249, allocations: 1.542 MB / 0.8603 GB, free: 186.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.25, allocations: 1.049 MB / 0.8613 GB, free: 185.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/1.252, allocations: 0.5249 MB / 0.8618 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/1.252, allocations: 305.1 kB / 0.8621 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/1.257, allocations: 2.16 MB / 0.8642 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/1.262, allocations: 2.517 MB / 0.8667 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009279/1.271, allocations: 4.68 MB / 0.8712 GB, free: 175 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.271, allocations: 4 kB / 0.8712 GB, free: 175 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0123/1.283, allocations: 5.752 MB / 0.8768 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.283, allocations: 4 kB / 0.8768 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.283, allocations: 4 kB / 0.8768 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.285, allocations: 0.8435 MB / 0.8777 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/1.289, allocations: 0.7955 MB / 0.8784 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009534/1.299, allocations: 7.581 MB / 0.8859 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/1.303, allocations: 0.5883 MB / 0.8864 GB, free: 159.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000828/1.304, allocations: 119.9 kB / 0.8865 GB, free: 159.2 MB / 0.6387 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.003175/1.307, allocations: 1.02 MB / 0.8875 GB, free: 158.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.309, allocations: 308.2 kB / 0.8878 GB, free: 157.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.323, allocations: 6.38 MB / 0.8941 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.323, allocations: 30.06 kB / 0.8941 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.323, allocations: 16 kB / 0.8941 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/1.323, allocations: 15.94 kB / 0.8941 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.345, allocations: 10.73 MB / 0.9046 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.345, allocations: 4 kB / 0.9046 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003719/1.349, allocations: 0.7606 MB / 0.9053 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/1.351, allocations: 0.7419 MB / 0.9061 GB, free: 139 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004845/1.351, allocations: 83.94 kB / 0.9062 GB, free: 138.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.362, allocations: 10.67 MB / 0.9166 GB, free: 127.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.362, allocations: 3.938 kB / 0.9166 GB, free: 127.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.381, allocations: 9.067 MB / 0.9254 GB, free: 118.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.383, allocations: 0.9024 MB / 0.9263 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.384, allocations: 63.94 kB / 0.9264 GB, free: 117.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/1.388, allocations: 437.4 kB / 0.9268 GB, free: 117.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007447/1.389, allocations: 210.2 kB / 0.927 GB, free: 117.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/1.389, allocations: 107.9 kB / 0.9271 GB, free: 117 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003153/1.393, allocations: 1.928 MB / 0.929 GB, free: 115 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.393, allocations: 0 / 0.929 GB, free: 115 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004431/1.397, allocations: 1.219 MB / 0.9302 GB, free: 113.8 MB / 0.6387 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.0205/1.417, allocations: 10.57 MB / 0.9405 GB, free: 103.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02168/1.439, allocations: 9.292 MB / 0.9496 GB, free: 94.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.439, allocations: 4 kB / 0.9496 GB, free: 94.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0071/1.446, allocations: 3.328 MB / 0.9528 GB, free: 90.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/1.452, allocations: 0.767 MB / 0.9536 GB, free: 90.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07642/1.528, allocations: 38.96 MB / 0.9916 GB, free: 49.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/1.532, allocations: 2.69 MB / 0.9942 GB, free: 46.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005634/1.537, allocations: 1.158 MB / 0.9954 GB, free: 45.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/1.541, allocations: 1.639 MB / 0.997 GB, free: 44.12 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/1.541, allocations: 0 / 0.997 GB, free: 44.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8574/2.398, allocations: 80.44 MB / 1.076 GB, free: 227.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/2.398, allocations: 292.1 kB / 1.076 GB, free: 227 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.301/6.699, allocations: 0 / 1.076 GB, free: 227 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)