Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_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.001486/0.001486, 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.001953/0.001953, allocations: 198 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.367/1.367, 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/package.mo): time 0.802/0.802, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.44 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4453, allocations: 80.2 MB / 0.5802 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1956/0.641, allocations: 160.1 MB / 0.7366 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03318/0.6742, allocations: 26.6 MB / 0.7625 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.6773, allocations: 71.62 kB / 0.7626 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.6797, allocations: 0.9792 MB / 0.7636 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.6845, allocations: 1.612 MB / 0.7651 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.6885, allocations: 1.634 MB / 0.7667 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005247/0.6938, allocations: 4.551 MB / 0.7712 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/0.6993, allocations: 4.098 MB / 0.7752 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.7051, allocations: 1.933 MB / 0.7771 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.709, allocations: 2.328 MB / 0.7793 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.7102, allocations: 424 kB / 0.7797 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.7127, allocations: 1.011 MB / 0.7807 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.7137, allocations: 1.106 MB / 0.7818 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.7161, allocations: 1.932 MB / 0.7837 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.7223, allocations: 5.406 MB / 0.789 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7223, allocations: 0 / 0.789 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7224, allocations: 0 / 0.789 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001141/0.7225, allocations: 4 kB / 0.789 GB, free: 11.12 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01014/0.7326, allocations: 4.293 MB / 0.7932 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.7327, allocations: 16.03 kB / 0.7932 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006679/0.7334, allocations: 438.1 kB / 0.7936 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.7478, allocations: 2.745 MB / 0.7963 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/0.7525, allocations: 2.175 MB / 0.7984 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.7527, allocations: 234.1 kB / 0.7986 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007542/0.7535, allocations: 304 kB / 0.7989 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.7652, allocations: 4.963 MB / 0.8038 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-05/0.7654, allocations: 0 / 0.8038 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.7658, allocations: 131.9 kB / 0.8039 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/0.7658, allocations: 72 kB / 0.804 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.7829, allocations: 6.107 MB / 0.8099 GB, free: 5.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.2893/1.072, allocations: 13.63 MB / 0.8232 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.083, allocations: 4.355 MB / 0.8275 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005061/1.088, allocations: 2.322 MB / 0.8298 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/1.089, allocations: 0.6696 MB / 0.8304 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005238/1.094, allocations: 2.368 MB / 0.8327 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 4.829e-06/1.094, allocations: 0 / 0.8327 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01673/1.111, allocations: 6.946 MB / 0.8395 GB, free: 204 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/1.111, allocations: 214.6 kB / 0.8397 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/1.114, allocations: 2.307 MB / 0.842 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/1.114, allocations: 72.52 kB / 0.842 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009127/1.115, allocations: 1.308 MB / 0.8433 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006917/1.116, allocations: 0.8554 MB / 0.8441 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007463/1.117, allocations: 462.6 kB / 0.8446 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/1.117, allocations: 301.1 kB / 0.8449 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/1.121, allocations: 1.873 MB / 0.8467 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.125, allocations: 2.181 MB / 0.8488 GB, free: 198 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008592/1.134, allocations: 4.039 MB / 0.8528 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.134, allocations: 0 / 0.8528 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01059/1.145, allocations: 4.651 MB / 0.8573 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.145, allocations: 8 kB / 0.8573 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.145, allocations: 6.344 kB / 0.8573 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/1.146, allocations: 240.7 kB / 0.8576 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/1.149, allocations: 0.7527 MB / 0.8583 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/1.153, allocations: 3.375 MB / 0.8616 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.157, allocations: 0.5169 MB / 0.8621 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007051/1.158, allocations: 107.8 kB / 0.8622 GB, free: 185.6 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 (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.002446/1.16, allocations: 0.8875 MB / 0.8631 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.161, allocations: 256.8 kB / 0.8633 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.174, allocations: 5.28 MB / 0.8685 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.174, allocations: 24 kB / 0.8685 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.174, allocations: 4 kB / 0.8685 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.174, allocations: 11.95 kB / 0.8685 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.193, allocations: 8.833 MB / 0.8771 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.193, allocations: 0 / 0.8771 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.197, allocations: 0.7254 MB / 0.8778 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/1.198, allocations: 267.4 kB / 0.8781 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004226/1.198, allocations: 71.94 kB / 0.8782 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/1.202, allocations: 5.23 MB / 0.8833 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.202, allocations: 0 / 0.8833 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.218, allocations: 7.536 MB / 0.8906 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.22, allocations: 0.7733 MB / 0.8914 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/1.221, allocations: 67.83 kB / 0.8915 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.225, allocations: 387.4 kB / 0.8918 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/1.225, allocations: 165.9 kB / 0.892 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/1.225, allocations: 99.92 kB / 0.8921 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002465/1.228, allocations: 1.688 MB / 0.8937 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/1.228, allocations: 0 / 0.8937 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003147/1.231, allocations: 0.9646 MB / 0.8947 GB, free: 151.8 MB / 0.6387 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.01839/1.249, allocations: 8.998 MB / 0.9035 GB, free: 143.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0176/1.267, allocations: 7.736 MB / 0.911 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.267, allocations: 0 / 0.911 GB, free: 135.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006046/1.273, allocations: 2.614 MB / 0.9136 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.278, allocations: 0.6487 MB / 0.9142 GB, free: 132.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05758/1.335, allocations: 30.39 MB / 0.9439 GB, free: 100.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/1.337, allocations: 2.374 MB / 0.9462 GB, free: 97.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004481/1.342, allocations: 1.094 MB / 0.9473 GB, free: 96.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.344, allocations: 1.366 MB / 0.9486 GB, free: 95.27 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.344, allocations: 0 / 0.9486 GB, free: 95.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.446, allocations: 65.55 MB / 1.013 GB, free: 30.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.62, allocations: 17.5 kB / 1.013 GB, free: 30.24 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)