Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",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.005498/0.005498, allocations: 97.98 kB / 15.73 MB, free: 6.055 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.001296/0.001296, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9888/0.9888, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.89 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4494, allocations: 81.02 MB / 0.6649 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.2046/0.6541, allocations: 160.2 MB / 0.8213 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03506/0.6892, allocations: 26.62 MB / 0.8473 GB, free: 5.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.6923, allocations: 71.62 kB / 0.8473 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.6942, allocations: 0.6282 MB / 0.848 GB, free: 4.711 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.6985, allocations: 1.429 MB / 0.8494 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.7025, allocations: 1.62 MB / 0.8509 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005528/0.7081, allocations: 4.5 MB / 0.8553 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004874/0.7129, allocations: 3.936 MB / 0.8592 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.716, allocations: 1.843 MB / 0.861 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.7191, allocations: 2.125 MB / 0.8631 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.7198, allocations: 416 kB / 0.8634 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.7227, allocations: 1.42 MB / 0.8648 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.7237, allocations: 1.036 MB / 0.8658 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.7258, allocations: 1.835 MB / 0.8676 GB, free: 476 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4288/1.155, allocations: 5.517 MB / 0.873 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.155, allocations: 1.875 kB / 0.873 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.615e-06/1.155, allocations: 0 / 0.873 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002189/1.155, allocations: 0.9688 kB / 0.873 GB, free: 11.76 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01337/1.168, allocations: 4.179 MB / 0.8771 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.168, allocations: 9.344 kB / 0.8771 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008317/1.169, allocations: 429 kB / 0.8775 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/1.185, allocations: 2.753 MB / 0.8802 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/1.191, allocations: 2.123 MB / 0.8823 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/1.191, allocations: 224.6 kB / 0.8825 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.192, allocations: 293.6 kB / 0.8828 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.206, allocations: 4.944 MB / 0.8876 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.564e-05/1.206, allocations: 4.969 kB / 0.8876 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/1.207, allocations: 128.6 kB / 0.8877 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/1.207, allocations: 74.91 kB / 0.8878 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.225, allocations: 6.093 MB / 0.8938 GB, free: 8.949 MB / 0.6856 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.02865/1.253, allocations: 15.35 MB / 0.9088 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006828/1.26, allocations: 3.662 MB / 0.9123 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/1.264, allocations: 2.009 MB / 0.9143 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/1.265, allocations: 224.1 kB / 0.9145 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004162/1.269, allocations: 2.133 MB / 0.9166 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=231): time 4.508e-06/1.269, allocations: 3.844 kB / 0.9166 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=231): time 0.01401/1.283, allocations: 6.107 MB / 0.9226 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/1.283, allocations: 285.9 kB / 0.9228 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/1.287, allocations: 2.089 MB / 0.9249 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004254/1.287, allocations: 65.23 kB / 0.9249 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009053/1.288, allocations: 1.226 MB / 0.9261 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/1.289, allocations: 0.8076 MB / 0.9269 GB, free: 420 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000797/1.289, allocations: 456.8 kB / 0.9274 GB, free: 320 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/1.289, allocations: 301.1 kB / 0.9276 GB, free: 16 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/1.294, allocations: 1.796 MB / 0.9294 GB, free: 0 / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/1.299, allocations: 2.06 MB / 0.9314 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/1.306, allocations: 3.7 MB / 0.935 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.306, allocations: 5.688 kB / 0.935 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009285/1.316, allocations: 4.301 MB / 0.9392 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.316, allocations: 9.312 kB / 0.9392 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.316, allocations: 5.625 kB / 0.9392 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/1.316, allocations: 239.5 kB / 0.9395 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/1.32, allocations: 0.7042 MB / 0.9402 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/1.324, allocations: 3.398 MB / 0.9435 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/1.328, allocations: 0.536 MB / 0.944 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/1.328, allocations: 97.06 kB / 0.9441 GB, free: 10.27 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (258): * Single equations (assignments): 257 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00218/1.331, allocations: 0.8134 MB / 0.9449 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007714/1.331, allocations: 258.3 kB / 0.9451 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.342, allocations: 4.498 MB / 0.9495 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.342, allocations: 24 kB / 0.9496 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.342, allocations: 7.984 kB / 0.9496 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.342, allocations: 7.969 kB / 0.9496 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/1.359, allocations: 7.742 MB / 0.9571 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.359, allocations: 12 kB / 0.9571 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.362, allocations: 0.548 MB / 0.9577 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/1.363, allocations: 274.3 kB / 0.9579 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/1.363, allocations: 71.95 kB / 0.958 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005718/1.369, allocations: 5.253 MB / 0.9631 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.369, allocations: 15.19 kB / 0.9631 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.382, allocations: 5.694 MB / 0.9687 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.384, allocations: 0.6784 MB / 0.9694 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000601/1.385, allocations: 71.88 kB / 0.9694 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.387, allocations: 277.7 kB / 0.9697 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/1.388, allocations: 183.1 kB / 0.9699 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.388, allocations: 87.95 kB / 0.97 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00276/1.391, allocations: 1.507 MB / 0.9714 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.583e-06/1.391, allocations: 0 / 0.9714 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003463/1.394, allocations: 0.8858 MB / 0.9723 GB, free: 12.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (219): * Single equations (assignments): 212 * 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 {(2,16,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.01655/1.411, allocations: 7.161 MB / 0.9793 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009244/1.42, allocations: 3.75 MB / 0.983 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.42, allocations: 0 / 0.983 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/1.424, allocations: 1.996 MB / 0.9849 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.428, allocations: 0.6392 MB / 0.9855 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05633/1.484, allocations: 26.09 MB / 1.011 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/1.487, allocations: 2.229 MB / 1.013 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003247/1.49, allocations: 0.9724 MB / 1.014 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.492, allocations: 1.219 MB / 1.015 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of SimCode: time 8.12e-07/1.492, allocations: 0 / 1.015 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/1.708, allocations: 63.36 MB / 1.077 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.32, allocations: 14.77 kB / 1.077 GB, free: 1.914 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)