Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001443/0.001443, 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.001534/0.001534, allocations: 197 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 58.28 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4577, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2058/0.6635, allocations: 160.8 MB / 0.7372 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.7014, allocations: 26.79 MB / 0.7633 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.7057, allocations: 75.56 kB / 0.7634 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.7088, allocations: 1.006 MB / 0.7644 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.7164, allocations: 1.677 MB / 0.766 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.7216, allocations: 1.691 MB / 0.7677 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007776/0.7294, allocations: 4.808 MB / 0.7724 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007162/0.7366, allocations: 4.26 MB / 0.7765 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.7419, allocations: 2.016 MB / 0.7785 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.7464, allocations: 2.441 MB / 0.7809 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.7481, allocations: 452 kB / 0.7813 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.7516, allocations: 1.019 MB / 0.7823 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002262/0.7538, allocations: 1.172 MB / 0.7835 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.7583, allocations: 2.033 MB / 0.7855 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.7688, allocations: 5.698 MB / 0.791 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.7688, allocations: 0 / 0.791 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7688, allocations: 0 / 0.791 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002645/0.7691, allocations: 0 / 0.791 GB, free: 8.859 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0146/0.7837, allocations: 4.482 MB / 0.7954 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7838, allocations: 12.03 kB / 0.7954 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001539/0.7853, allocations: 459 kB / 0.7958 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.7998, allocations: 2.776 MB / 0.7986 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.8048, allocations: 2.246 MB / 0.8007 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.805, allocations: 242.5 kB / 0.801 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.8061, allocations: 312 kB / 0.8013 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.8192, allocations: 5.144 MB / 0.8063 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.825e-05/0.8193, allocations: 0 / 0.8063 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/0.82, allocations: 135.9 kB / 0.8064 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.8201, allocations: 83.94 kB / 0.8065 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.8365, allocations: 6.288 MB / 0.8126 GB, free: 2.445 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.3397/1.176, allocations: 14.54 MB / 0.8268 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.187, allocations: 4.515 MB / 0.8313 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005787/1.193, allocations: 2.451 MB / 0.8337 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/1.194, allocations: 0.6689 MB / 0.8343 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005754/1.199, allocations: 2.467 MB / 0.8367 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 5.801e-06/1.199, allocations: 0 / 0.8367 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01843/1.218, allocations: 7.534 MB / 0.8441 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/1.218, allocations: 213.3 kB / 0.8443 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/1.221, allocations: 2.389 MB / 0.8466 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003784/1.221, allocations: 72.64 kB / 0.8467 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009258/1.222, allocations: 1.362 MB / 0.848 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/1.223, allocations: 0.8937 MB / 0.8489 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/1.224, allocations: 478.5 kB / 0.8493 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/1.224, allocations: 308.7 kB / 0.8496 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/1.228, allocations: 1.948 MB / 0.8515 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/1.233, allocations: 2.268 MB / 0.8537 GB, free: 194 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008687/1.241, allocations: 4.199 MB / 0.8578 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.241, allocations: 0 / 0.8578 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01035/1.252, allocations: 4.903 MB / 0.8626 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.252, allocations: 16.14 kB / 0.8627 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.252, allocations: 4 kB / 0.8627 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/1.253, allocations: 342 kB / 0.863 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/1.256, allocations: 0.7722 MB / 0.8637 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/1.261, allocations: 4.26 MB / 0.8679 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/1.265, allocations: 0.5222 MB / 0.8684 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/1.265, allocations: 107.9 kB / 0.8685 GB, free: 178.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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002448/1.268, allocations: 0.9271 MB / 0.8694 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.269, allocations: 276.5 kB / 0.8697 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.282, allocations: 5.542 MB / 0.8751 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.283, allocations: 24 kB / 0.8751 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.283, allocations: 8 kB / 0.8751 GB, free: 171.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/1.283, allocations: 11.95 kB / 0.8751 GB, free: 171.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.301, allocations: 9.314 MB / 0.8842 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.301, allocations: 4 kB / 0.8842 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/1.305, allocations: 0.7293 MB / 0.8849 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.306, allocations: 384.7 kB / 0.8853 GB, free: 161.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004757/1.307, allocations: 77.81 kB / 0.8854 GB, free: 161.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/1.312, allocations: 6.29 MB / 0.8915 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.312, allocations: 4.031 kB / 0.8915 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.329, allocations: 7.923 MB / 0.8993 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.332, allocations: 0.8016 MB / 0.9001 GB, free: 145.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009808/1.333, allocations: 55.91 kB / 0.9001 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.336, allocations: 387.4 kB / 0.9005 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/1.337, allocations: 178 kB / 0.9006 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003481/1.337, allocations: 95.92 kB / 0.9007 GB, free: 145 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002759/1.34, allocations: 1.753 MB / 0.9024 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/1.34, allocations: 4 kB / 0.9025 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004383/1.344, allocations: 1.024 MB / 0.9035 GB, free: 142.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.02019/1.364, allocations: 9.407 MB / 0.9126 GB, free: 133.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01994/1.384, allocations: 8.105 MB / 0.9206 GB, free: 125.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.384, allocations: 3.938 kB / 0.9206 GB, free: 125.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006706/1.391, allocations: 2.749 MB / 0.9232 GB, free: 122.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/1.395, allocations: 0.6689 MB / 0.9239 GB, free: 121.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0607/1.456, allocations: 32.05 MB / 0.9552 GB, free: 88 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.459, allocations: 2.451 MB / 0.9576 GB, free: 85.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005099/1.464, allocations: 1.095 MB / 0.9587 GB, free: 84.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/1.467, allocations: 1.44 MB / 0.9601 GB, free: 82.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/1.467, allocations: 3.938 kB / 0.9601 GB, free: 82.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/1.576, allocations: 69.16 MB / 1.028 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.09, allocations: 3.984 kB / 1.028 GB, free: 14.36 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)