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.007804/0.007804, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001763/0.001763, allocations: 186.9 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5024, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.214/0.7165, allocations: 161.7 MB / 0.8221 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0417/0.7583, allocations: 27.06 MB / 0.8485 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004396/0.7627, allocations: 79.62 kB / 0.8486 GB, free: 4.074 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.766, allocations: 1.064 MB / 0.8496 GB, free: 3.004 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00653/0.7725, allocations: 1.761 MB / 0.8513 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.7779, allocations: 1.803 MB / 0.8531 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008957/0.7869, allocations: 5.217 MB / 0.8582 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007246/0.7942, allocations: 4.501 MB / 0.8626 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.7987, allocations: 2.165 MB / 0.8647 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.8031, allocations: 2.588 MB / 0.8672 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.8047, allocations: 487.9 kB / 0.8677 GB, free: 412 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5066/1.311, allocations: 1.086 MB / 0.8688 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/1.313, allocations: 1.244 MB / 0.87 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003805/1.317, allocations: 2.184 MB / 0.8721 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009845/1.327, allocations: 6.208 MB / 0.8782 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.327, allocations: 0.875 kB / 0.8782 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.104e-06/1.327, allocations: 3.469 kB / 0.8782 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002083/1.327, allocations: 2.031 kB / 0.8782 GB, free: 11.32 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.01397/1.341, allocations: 4.748 MB / 0.8828 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.341, allocations: 10.12 kB / 0.8828 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008149/1.342, allocations: 484 kB / 0.8833 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/1.357, allocations: 2.789 MB / 0.886 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007377/1.365, allocations: 2.407 MB / 0.8883 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/1.365, allocations: 259.3 kB / 0.8886 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008391/1.366, allocations: 335.5 kB / 0.8889 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/1.379, allocations: 5.386 MB / 0.8942 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-05/1.379, allocations: 2.438 kB / 0.8942 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/1.379, allocations: 144.6 kB / 0.8943 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.379, allocations: 83.88 kB / 0.8944 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/1.395, allocations: 6.532 MB / 0.9008 GB, free: 8.246 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.03534/1.43, allocations: 15.6 MB / 0.916 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009843/1.44, allocations: 4.091 MB / 0.92 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005618/1.446, allocations: 2.656 MB / 0.9226 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/1.447, allocations: 0.6721 MB / 0.9233 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005795/1.452, allocations: 2.57 MB / 0.9258 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 5.73e-06/1.452, allocations: 0 / 0.9258 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02157/1.474, allocations: 8.386 MB / 0.934 GB, free: 68 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.474, allocations: 219.5 kB / 0.9342 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/1.479, allocations: 2.513 MB / 0.9366 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004264/1.48, allocations: 77.64 kB / 0.9367 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.481, allocations: 1.437 MB / 0.9381 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.482, allocations: 0.9546 MB / 0.939 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.484, allocations: 0.4892 MB / 0.9395 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.484, allocations: 302.2 kB / 0.9398 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.489, allocations: 2.036 MB / 0.9418 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/1.494, allocations: 2.371 MB / 0.9441 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.504, allocations: 4.41 MB / 0.9484 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.504, allocations: 0 / 0.9484 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01261/1.517, allocations: 5.275 MB / 0.9536 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/1.517, allocations: 8 kB / 0.9536 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.517, allocations: 4 kB / 0.9536 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.518, allocations: 0.5486 MB / 0.9541 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/1.523, allocations: 0.7767 MB / 0.9549 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/1.531, allocations: 5.74 MB / 0.9605 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/1.536, allocations: 0.549 MB / 0.961 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009725/1.537, allocations: 107.9 kB / 0.9611 GB, free: 10.7 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.003604/1.54, allocations: 0.9607 MB / 0.962 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.542, allocations: 284.4 kB / 0.9623 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.559, allocations: 5.887 MB / 0.9681 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.559, allocations: 32 kB / 0.9681 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.559, allocations: 8 kB / 0.9681 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-05/1.559, allocations: 15.94 kB / 0.9681 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.583, allocations: 9.894 MB / 0.9778 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.583, allocations: 0 / 0.9778 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004043/1.587, allocations: 0.7433 MB / 0.9785 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/1.589, allocations: 0.533 MB / 0.979 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004223/1.589, allocations: 79.92 kB / 0.9791 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009294/1.599, allocations: 7.542 MB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.599, allocations: 0 / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/1.619, allocations: 8.395 MB / 0.9947 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/1.622, allocations: 0.8404 MB / 0.9955 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.623, allocations: 71.77 kB / 0.9956 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/1.627, allocations: 402.2 kB / 0.9959 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/1.628, allocations: 197.2 kB / 0.9961 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004281/1.628, allocations: 95.94 kB / 0.9962 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003685/1.632, allocations: 1.834 MB / 0.998 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.632, allocations: 0 / 0.998 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004736/1.637, allocations: 1.099 MB / 0.9991 GB, free: 3.414 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.02203/1.659, allocations: 9.89 MB / 1.009 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.671, allocations: 5.078 MB / 1.014 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.671, allocations: 0 / 1.014 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006945/1.678, allocations: 2.959 MB / 1.017 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/1.683, allocations: 0.721 MB / 1.017 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07332/1.757, allocations: 30.78 MB / 1.047 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/1.76, allocations: 2.559 MB / 1.05 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005092/1.765, allocations: 1.128 MB / 1.051 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003279/1.769, allocations: 1.518 MB / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of SimCode: time 1.163e-06/1.769, allocations: 0 / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/1.941, allocations: 76.49 MB / 1.127 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/19.44, allocations: 12 kB / 1.127 GB, free: 1.137 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)