Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001708/0.001708, allocations: 108 kB / 15.61 MB, free: 152 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.002066/0.002067, allocations: 196 kB / 16.53 MB, free: 6.664 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.971/0.971, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.83 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.92 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4964/0.6511, allocations: 160.1 MB / 0.7408 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03562/0.6867, allocations: 26.59 MB / 0.7668 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.6911, allocations: 71.62 kB / 0.7669 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.6941, allocations: 0.9869 MB / 0.7678 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.6999, allocations: 1.602 MB / 0.7694 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.7048, allocations: 1.648 MB / 0.771 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008318/0.7131, allocations: 4.552 MB / 0.7754 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00655/0.7197, allocations: 4.095 MB / 0.7794 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.7244, allocations: 1.926 MB / 0.7813 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.7286, allocations: 2.332 MB / 0.7836 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.7302, allocations: 427.9 kB / 0.784 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.7337, allocations: 1.003 MB / 0.785 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.7357, allocations: 1.11 MB / 0.7861 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003805/0.7395, allocations: 1.928 MB / 0.7879 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007539/0.747, allocations: 5.406 MB / 0.7932 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.7471, allocations: 4 kB / 0.7932 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7471, allocations: 4 kB / 0.7932 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001361/0.7472, allocations: 0 / 0.7932 GB, free: 6.852 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009085/0.7563, allocations: 4.311 MB / 0.7974 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.7564, allocations: 8.031 kB / 0.7975 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005256/0.7569, allocations: 438.2 kB / 0.7979 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.7702, allocations: 2.749 MB / 0.8006 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/0.7745, allocations: 2.168 MB / 0.8027 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.7747, allocations: 226.2 kB / 0.8029 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.7752, allocations: 303.9 kB / 0.8032 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.7855, allocations: 4.971 MB / 0.808 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.368e-05/0.7856, allocations: 0 / 0.808 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.7859, allocations: 128 kB / 0.8082 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.786, allocations: 79.94 kB / 0.8082 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.7996, allocations: 6.107 MB / 0.8142 GB, free: 1.148 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.02703/0.8267, allocations: 13.64 MB / 0.8275 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.8373, allocations: 4.355 MB / 0.8318 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005234/0.8425, allocations: 2.308 MB / 0.834 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/0.8435, allocations: 0.6735 MB / 0.8347 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005439/0.849, allocations: 2.378 MB / 0.837 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 4.368e-06/0.849, allocations: 0 / 0.837 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01817/0.8672, allocations: 6.935 MB / 0.8438 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.8674, allocations: 210 kB / 0.844 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.8717, allocations: 2.311 MB / 0.8462 GB, free: 15.53 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.8721, allocations: 73.7 kB / 0.8463 GB, free: 15.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.8736, allocations: 1.298 MB / 0.8476 GB, free: 14.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.8748, allocations: 0.8548 MB / 0.8484 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.8759, allocations: 464 kB / 0.8488 GB, free: 12.81 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.876, allocations: 305.1 kB / 0.8491 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/0.8806, allocations: 1.874 MB / 0.851 GB, free: 10.63 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/0.8854, allocations: 2.176 MB / 0.8531 GB, free: 8.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009292/0.8947, allocations: 4.037 MB / 0.857 GB, free: 4.234 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.8947, allocations: 0 / 0.857 GB, free: 4.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.3485/1.243, allocations: 4.651 MB / 0.8616 GB, free: 215.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/1.243, allocations: 11.31 kB / 0.8616 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.243, allocations: 6.75 kB / 0.8616 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/1.244, allocations: 234.8 kB / 0.8618 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/1.248, allocations: 0.7598 MB / 0.8626 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/1.252, allocations: 3.381 MB / 0.8659 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.256, allocations: 0.5158 MB / 0.8664 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007255/1.257, allocations: 99.58 kB / 0.8665 GB, free: 213.8 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 (264): * Single equations (assignments): 263 * 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.002399/1.259, allocations: 0.8864 MB / 0.8673 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.26, allocations: 266.2 kB / 0.8676 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.273, allocations: 5.269 MB / 0.8727 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.273, allocations: 25.53 kB / 0.8728 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.273, allocations: 9.781 kB / 0.8728 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/1.273, allocations: 13.12 kB / 0.8728 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.292, allocations: 8.833 MB / 0.8814 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.292, allocations: 0 / 0.8814 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.295, allocations: 0.7218 MB / 0.8821 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007807/1.296, allocations: 267.4 kB / 0.8824 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/1.296, allocations: 72.94 kB / 0.8824 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/1.301, allocations: 5.24 MB / 0.8875 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.301, allocations: 3 kB / 0.8875 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.32, allocations: 7.52 MB / 0.8949 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/1.322, allocations: 0.7746 MB / 0.8956 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000782/1.323, allocations: 57.69 kB / 0.8957 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/1.326, allocations: 391.8 kB / 0.8961 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/1.326, allocations: 165.8 kB / 0.8962 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.327, allocations: 102.2 kB / 0.8963 GB, free: 201.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003283/1.33, allocations: 1.69 MB / 0.898 GB, free: 200.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.72e-07/1.33, allocations: 0 / 0.898 GB, free: 200.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003626/1.334, allocations: 0.9611 MB / 0.8989 GB, free: 200.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (251): * Single equations (assignments): 244 * 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.02122/1.355, allocations: 9.015 MB / 0.9077 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02032/1.375, allocations: 7.728 MB / 0.9153 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.375, allocations: 5.25 kB / 0.9153 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006209/1.382, allocations: 2.601 MB / 0.9178 GB, free: 195 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.386, allocations: 0.6413 MB / 0.9184 GB, free: 194.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05829/1.444, allocations: 30.4 MB / 0.9481 GB, free: 173.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/1.447, allocations: 2.37 MB / 0.9504 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00512/1.452, allocations: 1.11 MB / 0.9515 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002485/1.455, allocations: 1.362 MB / 0.9529 GB, free: 168.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/1.455, allocations: 0 / 0.9529 GB, free: 168.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/1.572, allocations: 65.57 MB / 1.017 GB, free: 103.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/14.37, allocations: 11.98 kB / 1.017 GB, free: 103.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_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_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)