Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_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.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 60.12 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.142, allocations: 80.93 MB / 0.5845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4592/0.6012, allocations: 163.1 MB / 0.7437 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.6391, allocations: 27.44 MB / 0.7705 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/0.6436, allocations: 87.56 kB / 0.7706 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.6466, allocations: 1.126 MB / 0.7717 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.6529, allocations: 1.891 MB / 0.7735 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.6589, allocations: 1.976 MB / 0.7755 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008284/0.6672, allocations: 5.834 MB / 0.7812 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006579/0.6738, allocations: 4.887 MB / 0.7859 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.6784, allocations: 2.301 MB / 0.7882 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.683, allocations: 2.822 MB / 0.7909 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.6843, allocations: 0.5195 MB / 0.7915 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.6871, allocations: 1.112 MB / 0.7925 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.6886, allocations: 1.359 MB / 0.7939 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003423/0.692, allocations: 2.395 MB / 0.7962 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009029/0.701, allocations: 6.648 MB / 0.8027 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7011, allocations: 4 kB / 0.8027 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7011, allocations: 0 / 0.8027 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002223/0.7013, allocations: 0 / 0.8027 GB, free: 13.08 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.01235/0.7137, allocations: 5.097 MB / 0.8077 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7137, allocations: 16.03 kB / 0.8077 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007255/0.7145, allocations: 0.5104 MB / 0.8082 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.7286, allocations: 2.83 MB / 0.811 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/0.7338, allocations: 2.5 MB / 0.8134 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.7341, allocations: 283.5 kB / 0.8137 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006422/0.7347, allocations: 368 kB / 0.814 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.7465, allocations: 5.732 MB / 0.8196 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.7466, allocations: 0 / 0.8196 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003774/0.747, allocations: 152 kB / 0.8198 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.747, allocations: 95.94 kB / 0.8199 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.7624, allocations: 6.854 MB / 0.8265 GB, free: 4.422 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.03076/0.7932, allocations: 17.4 MB / 0.8435 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009745/0.8029, allocations: 4.481 MB / 0.8479 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005674/0.8086, allocations: 2.947 MB / 0.8508 GB, free: 10.83 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009353/0.8096, allocations: 0.6856 MB / 0.8515 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005655/0.8153, allocations: 2.729 MB / 0.8541 GB, free: 7.246 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 5.731e-06/0.8153, allocations: 0 / 0.8541 GB, free: 7.246 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.2911/1.106, allocations: 9.689 MB / 0.8636 GB, free: 214.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/1.107, allocations: 218.4 kB / 0.8638 GB, free: 214.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/1.11, allocations: 2.657 MB / 0.8664 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007469/1.111, allocations: 82.33 kB / 0.8665 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.112, allocations: 1.54 MB / 0.868 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.113, allocations: 1.053 MB / 0.869 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009679/1.114, allocations: 0.5303 MB / 0.8695 GB, free: 212 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/1.114, allocations: 301.1 kB / 0.8698 GB, free: 211.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/1.119, allocations: 2.159 MB / 0.8719 GB, free: 211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/1.124, allocations: 2.518 MB / 0.8744 GB, free: 210.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009224/1.133, allocations: 4.683 MB / 0.8789 GB, free: 208.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.133, allocations: 2.656 kB / 0.8789 GB, free: 208.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01204/1.145, allocations: 5.748 MB / 0.8846 GB, free: 206.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.145, allocations: 12.38 kB / 0.8846 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.145, allocations: 2.625 kB / 0.8846 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/1.147, allocations: 0.8376 MB / 0.8854 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/1.151, allocations: 0.7937 MB / 0.8862 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.161, allocations: 7.574 MB / 0.8936 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/1.165, allocations: 0.5583 MB / 0.8941 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007907/1.166, allocations: 117.7 kB / 0.8942 GB, free: 202 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 (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.003241/1.17, allocations: 1.023 MB / 0.8952 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.171, allocations: 310.9 kB / 0.8955 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/1.186, allocations: 6.385 MB / 0.9018 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/1.186, allocations: 31.16 kB / 0.9018 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.186, allocations: 9.25 kB / 0.9018 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/1.186, allocations: 16.98 kB / 0.9018 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.21, allocations: 10.73 MB / 0.9123 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.21, allocations: 5.812 kB / 0.9123 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004285/1.215, allocations: 0.7664 MB / 0.913 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002261/1.217, allocations: 0.7435 MB / 0.9138 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004069/1.217, allocations: 88.73 kB / 0.9139 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/1.231, allocations: 10.66 MB / 0.9243 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.231, allocations: 2.047 kB / 0.9243 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/1.254, allocations: 9.077 MB / 0.9331 GB, free: 183.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.257, allocations: 0.8964 MB / 0.934 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.258, allocations: 69.31 kB / 0.9341 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/1.262, allocations: 399.5 kB / 0.9344 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008916/1.263, allocations: 218.8 kB / 0.9347 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005192/1.264, allocations: 103.9 kB / 0.9348 GB, free: 183.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003751/1.267, allocations: 1.936 MB / 0.9366 GB, free: 182.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.72e-07/1.268, allocations: 4 kB / 0.9367 GB, free: 182.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004843/1.272, allocations: 1.216 MB / 0.9378 GB, free: 182.3 MB / 0.67 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.02128/1.294, allocations: 10.57 MB / 0.9482 GB, free: 173.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02202/1.316, allocations: 9.29 MB / 0.9572 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.316, allocations: 7.938 kB / 0.9572 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007477/1.323, allocations: 3.32 MB / 0.9605 GB, free: 161 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/1.328, allocations: 0.7723 MB / 0.9612 GB, free: 160.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07107/1.4, allocations: 37.4 MB / 0.9978 GB, free: 121.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/1.403, allocations: 2.695 MB / 1 GB, free: 118.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005487/1.408, allocations: 1.17 MB / 1.002 GB, free: 117.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/1.412, allocations: 1.636 MB / 1.003 GB, free: 115.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.533e-06/1.412, allocations: 0 / 1.003 GB, free: 115.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.541, allocations: 80.83 MB / 1.082 GB, free: 35.51 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.71, allocations: 7.75 kB / 1.082 GB, free: 35.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)