Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.005818/0.005818, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001413/0.001413, allocations: 202 kB / 16.68 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 63.89 kB / 0.5808 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5198, allocations: 80.21 MB / 0.6592 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2132/0.733, allocations: 163.1 MB / 0.8185 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04008/0.7731, allocations: 27.44 MB / 0.8453 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004244/0.7774, allocations: 87.56 kB / 0.8453 GB, free: 6.855 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.7811, allocations: 1.13 MB / 0.8464 GB, free: 5.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.7895, allocations: 1.89 MB / 0.8483 GB, free: 3.824 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008015/0.7975, allocations: 1.975 MB / 0.8502 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.8078, allocations: 5.857 MB / 0.8559 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008253/0.8161, allocations: 4.881 MB / 0.8607 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007/0.8231, allocations: 2.309 MB / 0.863 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006947/0.8301, allocations: 2.818 MB / 0.8657 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002709/0.8329, allocations: 0.5234 MB / 0.8662 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/0.8379, allocations: 1.136 MB / 0.8673 GB, free: 240 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.4589/1.297, allocations: 1.356 MB / 0.8687 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/1.303, allocations: 2.39 MB / 0.871 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.315, allocations: 6.79 MB / 0.8776 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.315, allocations: 0.9062 kB / 0.8776 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.064e-06/1.315, allocations: 0 / 0.8776 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000287/1.315, allocations: 0 / 0.8776 GB, free: 12.52 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.019/1.334, allocations: 5.247 MB / 0.8827 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.334, allocations: 9.594 kB / 0.8828 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001971/1.336, allocations: 0.5089 MB / 0.8832 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.352, allocations: 2.858 MB / 0.886 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/1.36, allocations: 2.554 MB / 0.8885 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/1.36, allocations: 283.2 kB / 0.8888 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/1.362, allocations: 367.1 kB / 0.8892 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/1.381, allocations: 5.732 MB / 0.8948 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/1.381, allocations: 1 kB / 0.8948 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009099/1.382, allocations: 158.5 kB / 0.8949 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/1.382, allocations: 90.22 kB / 0.895 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/1.402, allocations: 6.858 MB / 0.9017 GB, free: 9.109 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.03719/1.439, allocations: 17.29 MB / 0.9186 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009654/1.448, allocations: 4.491 MB / 0.923 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005986/1.455, allocations: 2.941 MB / 0.9258 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009123/1.455, allocations: 0.6733 MB / 0.9265 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006582/1.462, allocations: 2.723 MB / 0.9291 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 6.021e-06/1.462, allocations: 0 / 0.9291 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02857/1.491, allocations: 9.717 MB / 0.9386 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/1.491, allocations: 216.7 kB / 0.9388 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/1.495, allocations: 2.66 MB / 0.9414 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.496, allocations: 78.39 kB / 0.9415 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.498, allocations: 1.579 MB / 0.9431 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/1.5, allocations: 1.097 MB / 0.9441 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/1.502, allocations: 0.5297 MB / 0.9446 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.502, allocations: 301.1 kB / 0.9449 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.507, allocations: 2.163 MB / 0.947 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006992/1.514, allocations: 2.519 MB / 0.9495 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.527, allocations: 4.678 MB / 0.9541 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/1.527, allocations: 4 kB / 0.9541 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01653/1.544, allocations: 5.767 MB / 0.9597 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.544, allocations: 11.88 kB / 0.9597 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.544, allocations: 4 kB / 0.9597 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.546, allocations: 0.8318 MB / 0.9605 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/1.551, allocations: 0.7971 MB / 0.9613 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.563, allocations: 7.583 MB / 0.9687 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.568, allocations: 0.5727 MB / 0.9693 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009511/1.569, allocations: 119.9 kB / 0.9694 GB, free: 3.848 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003338/1.573, allocations: 1.021 MB / 0.9704 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.574, allocations: 321.9 kB / 0.9707 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.593, allocations: 6.387 MB / 0.9769 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/1.593, allocations: 32 kB / 0.977 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/1.593, allocations: 8 kB / 0.977 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.778e-05/1.593, allocations: 15.94 kB / 0.977 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.623, allocations: 10.74 MB / 0.9875 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.623, allocations: 0 / 0.9875 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004778/1.628, allocations: 0.7658 MB / 0.9882 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.631, allocations: 0.7333 MB / 0.9889 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009341/1.632, allocations: 91.86 kB / 0.989 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.647, allocations: 10.68 MB / 0.9995 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.647, allocations: 0 / 0.9995 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/1.673, allocations: 9.086 MB / 1.008 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003313/1.676, allocations: 0.9159 MB / 1.009 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.677, allocations: 67.89 kB / 1.009 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/1.681, allocations: 407.7 kB / 1.01 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008445/1.682, allocations: 213.5 kB / 1.01 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004592/1.682, allocations: 107.9 kB / 1.01 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003832/1.686, allocations: 1.936 MB / 1.012 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.11e-07/1.686, allocations: 0 / 1.012 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005632/1.692, allocations: 1.224 MB / 1.013 GB, free: 6.645 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.03041/1.722, allocations: 10.6 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01632/1.739, allocations: 5.487 MB / 1.029 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.739, allocations: 0 / 1.029 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/1.749, allocations: 3.334 MB / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/1.756, allocations: 0.7723 MB / 1.033 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08706/1.843, allocations: 33.32 MB / 1.065 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003699/1.847, allocations: 2.694 MB / 1.068 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005394/1.852, allocations: 1.162 MB / 1.069 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00452/1.857, allocations: 1.636 MB / 1.071 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of SimCode: time 1.182e-06/1.857, allocations: 0 / 1.071 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/2.028, allocations: 81.92 MB / 1.151 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/21.89, allocations: 3.094 kB / 1.151 GB, free: 10.85 MB / 0.9044 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)