Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_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.00815/0.00815, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001777/0.001777, allocations: 199.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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9264/0.9264, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 60.14 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4596, allocations: 80.91 MB / 0.6641 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1977/0.6573, allocations: 161.7 MB / 0.8221 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03808/0.6955, allocations: 27.05 MB / 0.8485 GB, free: 4.148 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004577/0.7001, allocations: 83.56 kB / 0.8486 GB, free: 4.066 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.7031, allocations: 1.061 MB / 0.8496 GB, free: 3 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.7092, allocations: 1.791 MB / 0.8514 GB, free: 1.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.7141, allocations: 1.808 MB / 0.8531 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007246/0.7214, allocations: 5.223 MB / 0.8582 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005761/0.7272, allocations: 4.505 MB / 0.8626 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.7309, allocations: 2.176 MB / 0.8648 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.7344, allocations: 2.59 MB / 0.8673 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00074/0.7352, allocations: 484 kB / 0.8678 GB, free: 360 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.469/1.204, allocations: 1.085 MB / 0.8688 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002285/1.206, allocations: 1.249 MB / 0.87 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004755/1.211, allocations: 2.181 MB / 0.8722 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.222, allocations: 6.218 MB / 0.8782 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.222, allocations: 0 / 0.8782 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.395e-06/1.222, allocations: 0 / 0.8782 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000261/1.222, allocations: 0 / 0.8782 GB, free: 11.23 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01524/1.237, allocations: 4.75 MB / 0.8829 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.237, allocations: 10.38 kB / 0.8829 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/1.238, allocations: 480.1 kB / 0.8833 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/1.252, allocations: 2.792 MB / 0.8861 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006305/1.258, allocations: 2.4 MB / 0.8884 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.259, allocations: 262.7 kB / 0.8887 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.26, allocations: 335.8 kB / 0.889 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/1.273, allocations: 5.386 MB / 0.8942 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/1.273, allocations: 1.781 kB / 0.8942 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/1.273, allocations: 144.5 kB / 0.8944 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/1.273, allocations: 84.06 kB / 0.8945 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/1.288, allocations: 6.53 MB / 0.9008 GB, free: 8.156 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.02594/1.314, allocations: 15.61 MB / 0.9161 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00756/1.321, allocations: 4.079 MB / 0.9201 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/1.326, allocations: 2.661 MB / 0.9227 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/1.327, allocations: 0.6722 MB / 0.9233 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004669/1.331, allocations: 2.572 MB / 0.9258 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 5.239e-06/1.331, allocations: 2.5 kB / 0.9258 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02227/1.354, allocations: 8.383 MB / 0.934 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.354, allocations: 212 kB / 0.9342 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/1.358, allocations: 2.518 MB / 0.9367 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004635/1.358, allocations: 73.52 kB / 0.9368 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/1.359, allocations: 1.442 MB / 0.9382 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.36, allocations: 0.9547 MB / 0.9391 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009268/1.361, allocations: 0.4899 MB / 0.9396 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.361, allocations: 304.2 kB / 0.9399 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004154/1.366, allocations: 2.04 MB / 0.9419 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/1.37, allocations: 2.365 MB / 0.9442 GB, free: 12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009506/1.38, allocations: 4.404 MB / 0.9485 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.38, allocations: 4 kB / 0.9485 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01171/1.391, allocations: 5.274 MB / 0.9536 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.391, allocations: 8 kB / 0.9536 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.391, allocations: 4.156 kB / 0.9536 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.393, allocations: 0.5493 MB / 0.9542 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/1.396, allocations: 0.7814 MB / 0.9549 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/1.404, allocations: 5.737 MB / 0.9605 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.408, allocations: 0.5439 MB / 0.9611 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/1.408, allocations: 111.9 kB / 0.9612 GB, free: 10.45 MB / 0.7169 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.002275/1.411, allocations: 0.9637 MB / 0.9621 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007651/1.411, allocations: 288.4 kB / 0.9624 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.424, allocations: 5.883 MB / 0.9681 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/1.424, allocations: 31.98 kB / 0.9682 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.424, allocations: 11.09 kB / 0.9682 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/1.424, allocations: 15.94 kB / 0.9682 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.444, allocations: 9.893 MB / 0.9778 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.444, allocations: 0 / 0.9778 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003579/1.447, allocations: 0.7464 MB / 0.9786 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/1.449, allocations: 0.5222 MB / 0.9791 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.449, allocations: 87.92 kB / 0.9792 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008391/1.457, allocations: 7.53 MB / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.457, allocations: 0 / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/1.476, allocations: 8.404 MB / 0.9947 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.478, allocations: 0.8443 MB / 0.9956 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005825/1.479, allocations: 67.78 kB / 0.9956 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.482, allocations: 395.4 kB / 0.996 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/1.482, allocations: 198.2 kB / 0.9962 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/1.483, allocations: 107.9 kB / 0.9963 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003049/1.486, allocations: 1.83 MB / 0.9981 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.486, allocations: 0 / 0.9981 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004249/1.49, allocations: 1.091 MB / 0.9991 GB, free: 3.164 MB / 0.7481 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.01971/1.51, allocations: 9.897 MB / 1.009 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.521, allocations: 5.072 MB / 1.014 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.521, allocations: 8.125 kB / 1.014 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006062/1.527, allocations: 2.944 MB / 1.017 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.531, allocations: 0.7298 MB / 1.017 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0589/1.59, allocations: 30.78 MB / 1.047 GB, free: 1.953 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.592, allocations: 2.551 MB / 1.05 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003972/1.596, allocations: 1.131 MB / 1.051 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/1.599, allocations: 1.518 MB / 1.052 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/1.599, allocations: 0 / 1.052 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/1.745, allocations: 75.2 MB / 1.126 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/19.02, allocations: 3.953 kB / 1.126 GB, free: 2.18 MB / 0.8731 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)