Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.001761/0.00176, 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.001987/0.001987, allocations: 195.5 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.45/1.45, 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.8303/0.8303, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.12 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4395, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1884/0.628, allocations: 161.7 MB / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04302/0.671, allocations: 27.04 MB / 0.7645 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.6745, allocations: 83.56 kB / 0.7646 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.6775, allocations: 1.064 MB / 0.7657 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.6833, allocations: 1.746 MB / 0.7674 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.6883, allocations: 1.796 MB / 0.7691 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007397/0.6957, allocations: 5.194 MB / 0.7742 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007133/0.7029, allocations: 4.509 MB / 0.7786 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.7078, allocations: 2.125 MB / 0.7807 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.712, allocations: 2.594 MB / 0.7832 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.7131, allocations: 484 kB / 0.7837 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.7155, allocations: 1.066 MB / 0.7847 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.7166, allocations: 1.243 MB / 0.7859 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.719, allocations: 2.185 MB / 0.7881 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006463/0.7255, allocations: 6.111 MB / 0.794 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7255, allocations: 0 / 0.794 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7255, allocations: 0 / 0.794 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001085/0.7256, allocations: 0 / 0.794 GB, free: 5.789 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.009831/0.7355, allocations: 4.738 MB / 0.7986 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7355, allocations: 8.031 kB / 0.7987 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006066/0.7361, allocations: 480.5 kB / 0.7991 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.7496, allocations: 2.795 MB / 0.8018 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/0.7548, allocations: 2.356 MB / 0.8041 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.755, allocations: 262.8 kB / 0.8044 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008755/0.7559, allocations: 336 kB / 0.8047 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.7683, allocations: 5.389 MB / 0.81 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.7684, allocations: 0 / 0.81 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.7688, allocations: 144 kB / 0.8101 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.7689, allocations: 84 kB / 0.8102 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3235/1.092, allocations: 6.523 MB / 0.8166 GB, free: 214.7 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.03075/1.123, allocations: 15.75 MB / 0.8319 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008541/1.132, allocations: 4.073 MB / 0.8359 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/1.137, allocations: 2.661 MB / 0.8385 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008547/1.138, allocations: 0.6741 MB / 0.8392 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005093/1.143, allocations: 2.574 MB / 0.8417 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 5.48e-06/1.143, allocations: 1.219 kB / 0.8417 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.01939/1.162, allocations: 8.397 MB / 0.8499 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/1.163, allocations: 208 kB / 0.8501 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/1.165, allocations: 2.519 MB / 0.8526 GB, free: 195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/1.166, allocations: 77.36 kB / 0.8526 GB, free: 195 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000923/1.167, allocations: 1.431 MB / 0.854 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/1.167, allocations: 0.9561 MB / 0.855 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/1.168, allocations: 0.4931 MB / 0.8554 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/1.168, allocations: 305.1 kB / 0.8557 GB, free: 191.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/1.172, allocations: 2.042 MB / 0.8577 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/1.176, allocations: 2.359 MB / 0.86 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008217/1.184, allocations: 4.405 MB / 0.8643 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.184, allocations: 4 kB / 0.8643 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0103/1.195, allocations: 5.274 MB / 0.8695 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.195, allocations: 4 kB / 0.8695 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.195, allocations: 4 kB / 0.8695 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.196, allocations: 0.5585 MB / 0.87 GB, free: 177 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/1.2, allocations: 0.7761 MB / 0.8708 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/1.206, allocations: 5.738 MB / 0.8764 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.21, allocations: 0.5362 MB / 0.8769 GB, free: 169.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003689/1.21, allocations: 111.9 kB / 0.877 GB, free: 169.7 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001721/1.212, allocations: 0.9656 MB / 0.878 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/1.212, allocations: 288.4 kB / 0.8782 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.224, allocations: 5.888 MB / 0.884 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.224, allocations: 28 kB / 0.884 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.224, allocations: 11.98 kB / 0.884 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.224, allocations: 15.94 kB / 0.8841 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.241, allocations: 9.908 MB / 0.8937 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.241, allocations: 0 / 0.8937 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/1.244, allocations: 0.7488 MB / 0.8945 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/1.246, allocations: 0.5261 MB / 0.895 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/1.246, allocations: 87.92 kB / 0.8951 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/1.252, allocations: 7.55 MB / 0.9024 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.252, allocations: 0 / 0.9024 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.268, allocations: 8.389 MB / 0.9106 GB, free: 134.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.27, allocations: 0.8482 MB / 0.9114 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/1.27, allocations: 71.77 kB / 0.9115 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.273, allocations: 396.8 kB / 0.9119 GB, free: 133.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/1.273, allocations: 186.1 kB / 0.9121 GB, free: 133.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.274, allocations: 103.9 kB / 0.9122 GB, free: 133.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001992/1.276, allocations: 1.834 MB / 0.914 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/1.276, allocations: 4 kB / 0.914 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002512/1.278, allocations: 1.097 MB / 0.915 GB, free: 130.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.01758/1.296, allocations: 9.899 MB / 0.9247 GB, free: 120.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.315, allocations: 8.584 MB / 0.9331 GB, free: 112.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.315, allocations: 0 / 0.9331 GB, free: 112.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005512/1.32, allocations: 2.944 MB / 0.936 GB, free: 109.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.324, allocations: 0.7176 MB / 0.9367 GB, free: 108.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/1.376, allocations: 34.38 MB / 0.9702 GB, free: 72.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/1.377, allocations: 2.555 MB / 0.9727 GB, free: 69.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004469/1.382, allocations: 1.128 MB / 0.9738 GB, free: 68.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/1.384, allocations: 1.514 MB / 0.9753 GB, free: 67.24 MB / 0.6387 GB Notification: Performance of SimCode: time 1.353e-06/1.384, allocations: 0 / 0.9753 GB, free: 67.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.5, allocations: 74.21 MB / 1.048 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.21, allocations: 3.75 kB / 1.048 GB, free: 9.648 MB / 0.6544 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)