Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_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.007236/0.007236, allocations: 101.1 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.001764/0.001764, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9391/0.9391, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4743, allocations: 80.92 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1951/0.6695, allocations: 163.1 MB / 0.8234 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04343/0.7129, allocations: 27.45 MB / 0.8502 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005065/0.7181, allocations: 83.62 kB / 0.8503 GB, free: 2.289 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.7216, allocations: 1.134 MB / 0.8514 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007643/0.7293, allocations: 1.933 MB / 0.8533 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00597/0.7354, allocations: 1.993 MB / 0.8552 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.746, allocations: 5.852 MB / 0.861 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009869/0.756, allocations: 4.877 MB / 0.8657 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006094/0.7621, allocations: 2.343 MB / 0.868 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5142/1.276, allocations: 2.82 MB / 0.8708 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001721/1.278, allocations: 0.5203 MB / 0.8713 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/1.282, allocations: 1.132 MB / 0.8724 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/1.283, allocations: 1.364 MB / 0.8737 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003567/1.287, allocations: 2.393 MB / 0.876 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009456/1.296, allocations: 6.76 MB / 0.8826 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.296, allocations: 0.5 kB / 0.8826 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.835e-06/1.296, allocations: 1.719 kB / 0.8826 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002578/1.296, allocations: 0 / 0.8826 GB, free: 9.539 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.01435/1.311, allocations: 5.109 MB / 0.8876 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.311, allocations: 10.69 kB / 0.8876 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008322/1.312, allocations: 0.5135 MB / 0.8881 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/1.326, allocations: 2.827 MB / 0.8909 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/1.333, allocations: 2.547 MB / 0.8934 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/1.333, allocations: 279.1 kB / 0.8937 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/1.334, allocations: 370.3 kB / 0.894 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/1.347, allocations: 5.737 MB / 0.8996 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/1.347, allocations: 3.281 kB / 0.8996 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/1.347, allocations: 158.3 kB / 0.8998 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/1.347, allocations: 90.03 kB / 0.8999 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/1.362, allocations: 6.856 MB / 0.9065 GB, free: 6.293 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.02914/1.391, allocations: 17.25 MB / 0.9234 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008974/1.4, allocations: 4.488 MB / 0.9278 GB, free: 264 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006237/1.406, allocations: 3.016 MB / 0.9307 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.407, allocations: 0.6803 MB / 0.9314 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005683/1.413, allocations: 2.723 MB / 0.934 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 6.212e-06/1.413, allocations: 0 / 0.934 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02413/1.437, allocations: 9.69 MB / 0.9435 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/1.437, allocations: 221.2 kB / 0.9437 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005778/1.443, allocations: 2.659 MB / 0.9463 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007041/1.444, allocations: 85.7 kB / 0.9464 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.446, allocations: 1.548 MB / 0.9479 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001639/1.447, allocations: 1.041 MB / 0.9489 GB, free: 6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/1.449, allocations: 0.5327 MB / 0.9494 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.449, allocations: 301.1 kB / 0.9497 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005314/1.455, allocations: 2.159 MB / 0.9518 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005638/1.46, allocations: 2.52 MB / 0.9543 GB, free: 408 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.472, allocations: 4.683 MB / 0.9589 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.472, allocations: 4 kB / 0.9589 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0143/1.486, allocations: 5.741 MB / 0.9645 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.486, allocations: 13.19 kB / 0.9645 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.486, allocations: 4.156 kB / 0.9645 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.488, allocations: 0.8317 MB / 0.9653 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/1.492, allocations: 0.8002 MB / 0.9661 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.504, allocations: 7.556 MB / 0.9735 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.509, allocations: 0.5701 MB / 0.974 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008265/1.51, allocations: 115.9 kB / 0.9741 GB, free: 11.94 MB / 0.7325 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.003657/1.513, allocations: 1.02 MB / 0.9751 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/1.515, allocations: 308.2 kB / 0.9754 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.532, allocations: 6.383 MB / 0.9817 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/1.532, allocations: 28 kB / 0.9817 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.532, allocations: 12 kB / 0.9817 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.626e-05/1.532, allocations: 15.94 kB / 0.9817 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02652/1.559, allocations: 10.72 MB / 0.9922 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.559, allocations: 4 kB / 0.9922 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/1.563, allocations: 0.7658 MB / 0.9929 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.565, allocations: 0.7419 MB / 0.9937 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005057/1.565, allocations: 87.92 kB / 0.9937 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.579, allocations: 10.65 MB / 1.004 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.579, allocations: 0 / 1.004 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.601, allocations: 9.084 MB / 1.013 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/1.604, allocations: 0.8948 MB / 1.014 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.606, allocations: 67.84 kB / 1.014 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/1.61, allocations: 403.4 kB / 1.014 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008088/1.611, allocations: 206.3 kB / 1.015 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005438/1.611, allocations: 111 kB / 1.015 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004889/1.616, allocations: 1.936 MB / 1.017 GB, free: 40 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.616, allocations: 0 / 1.017 GB, free: 40 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00575/1.622, allocations: 1.215 MB / 1.018 GB, free: 14.82 MB / 0.7794 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.02428/1.646, allocations: 10.58 MB / 1.028 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.659, allocations: 5.485 MB / 1.033 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.659, allocations: 0 / 1.033 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007604/1.667, allocations: 3.321 MB / 1.037 GB, free: 11.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005613/1.673, allocations: 0.7796 MB / 1.037 GB, free: 11.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08335/1.756, allocations: 33.19 MB / 1.07 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004771/1.761, allocations: 2.695 MB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005834/1.767, allocations: 1.162 MB / 1.074 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004131/1.771, allocations: 1.639 MB / 1.075 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/1.771, allocations: 0 / 1.075 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/1.935, allocations: 81.92 MB / 1.155 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/20.81, allocations: 10.72 kB / 1.155 GB, free: 3.031 MB / 0.9044 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)