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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001176, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9822/0.9822, allocations: 135.1 MB / 425.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.12 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1789, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5082/0.6871, allocations: 159.4 MB / 0.7394 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03467/0.7218, allocations: 26.87 MB / 0.7657 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004104/0.726, allocations: 71.62 kB / 0.7657 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.7291, allocations: 0.9489 MB / 0.7667 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.7347, allocations: 1.579 MB / 0.7682 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/0.7395, allocations: 1.601 MB / 0.7698 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007451/0.7469, allocations: 5.46 MB / 0.7751 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006071/0.753, allocations: 4.025 MB / 0.779 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.7561, allocations: 1.77 MB / 0.7808 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003555/0.7597, allocations: 2.424 MB / 0.7831 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.7608, allocations: 271.9 kB / 0.7834 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.7635, allocations: 0.8585 MB / 0.7842 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.765, allocations: 1.004 MB / 0.7852 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.7681, allocations: 1.935 MB / 0.7871 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007088/0.7752, allocations: 5.908 MB / 0.7929 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7752, allocations: 0 / 0.7929 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.7752, allocations: 0 / 0.7929 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002058/0.7754, allocations: 0 / 0.7929 GB, free: 7.012 MB / 0.6075 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.01188/0.7873, allocations: 4.756 MB / 0.7975 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7874, allocations: 8.031 kB / 0.7975 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007199/0.7881, allocations: 480.6 kB / 0.798 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.8018, allocations: 2.791 MB / 0.8007 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/0.8071, allocations: 2.381 MB / 0.803 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.8073, allocations: 262.9 kB / 0.8033 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.8083, allocations: 336 kB / 0.8036 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.8222, allocations: 5.381 MB / 0.8089 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.8223, allocations: 11.94 kB / 0.8089 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007236/0.8231, allocations: 140 kB / 0.809 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/0.8232, allocations: 84 kB / 0.8091 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.8392, allocations: 6.527 MB / 0.8155 GB, free: 15.63 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.02968/0.8689, allocations: 15.72 MB / 0.8308 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009194/0.8781, allocations: 4.076 MB / 0.8348 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005644/0.8838, allocations: 2.651 MB / 0.8374 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.8849, allocations: 0.6736 MB / 0.838 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006171/0.8911, allocations: 2.569 MB / 0.8405 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 5.29e-06/0.8911, allocations: 0 / 0.8405 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02271/0.9138, allocations: 8.394 MB / 0.8487 GB, free: 12.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.914, allocations: 210.2 kB / 0.8489 GB, free: 12.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/0.9183, allocations: 2.513 MB / 0.8514 GB, free: 9.844 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005023/0.9189, allocations: 73.7 kB / 0.8515 GB, free: 9.766 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.9203, allocations: 1.439 MB / 0.8529 GB, free: 8.309 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.9216, allocations: 0.9588 MB / 0.8538 GB, free: 7.336 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.9229, allocations: 496.9 kB / 0.8543 GB, free: 6.844 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.923, allocations: 309.1 kB / 0.8546 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/0.9278, allocations: 2.042 MB / 0.8566 GB, free: 4.492 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/0.933, allocations: 2.363 MB / 0.8589 GB, free: 2.043 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3854/1.318, allocations: 4.414 MB / 0.8632 GB, free: 214.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.318, allocations: 0 / 0.8632 GB, free: 214.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01263/1.331, allocations: 5.271 MB / 0.8683 GB, free: 213.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.331, allocations: 6.25 kB / 0.8683 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.331, allocations: 5 kB / 0.8683 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/1.332, allocations: 0.5438 MB / 0.8689 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/1.336, allocations: 0.784 MB / 0.8696 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006779/1.343, allocations: 5.289 MB / 0.8748 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.348, allocations: 0.5574 MB / 0.8754 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/1.348, allocations: 110.3 kB / 0.8755 GB, free: 209.9 MB / 0.67 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.002203/1.35, allocations: 0.9654 MB / 0.8764 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008027/1.351, allocations: 294.1 kB / 0.8767 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.364, allocations: 5.89 MB / 0.8824 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.364, allocations: 28.94 kB / 0.8825 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.364, allocations: 13.53 kB / 0.8825 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/1.364, allocations: 16.22 kB / 0.8825 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/1.384, allocations: 9.895 MB / 0.8921 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.384, allocations: 0.7188 kB / 0.8922 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004031/1.388, allocations: 0.7487 MB / 0.8929 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/1.389, allocations: 0.5245 MB / 0.8934 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/1.39, allocations: 81.28 kB / 0.8935 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/1.399, allocations: 6.947 MB / 0.9003 GB, free: 198.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.399, allocations: 8.609 kB / 0.9003 GB, free: 198.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/1.422, allocations: 8.397 MB / 0.9085 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00257/1.425, allocations: 0.839 MB / 0.9093 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.426, allocations: 65.36 kB / 0.9093 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/1.43, allocations: 423.4 kB / 0.9097 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008943/1.431, allocations: 192.8 kB / 0.9099 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006236/1.431, allocations: 101.6 kB / 0.91 GB, free: 195.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004581/1.436, allocations: 1.829 MB / 0.9118 GB, free: 194.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.51e-07/1.436, allocations: 0 / 0.9118 GB, free: 194.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005776/1.442, allocations: 1.1 MB / 0.9129 GB, free: 194.3 MB / 0.67 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.02788/1.47, allocations: 9.892 MB / 0.9226 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.483, allocations: 5.059 MB / 0.9275 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.483, allocations: 0 / 0.9275 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007008/1.49, allocations: 2.952 MB / 0.9304 GB, free: 187.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.495, allocations: 0.6626 MB / 0.931 GB, free: 187.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06714/1.562, allocations: 35.79 MB / 0.966 GB, free: 153.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002773/1.564, allocations: 2.555 MB / 0.9685 GB, free: 151 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004719/1.569, allocations: 1.125 MB / 0.9696 GB, free: 149.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/1.572, allocations: 1.518 MB / 0.971 GB, free: 148.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.483e-06/1.572, allocations: 0 / 0.971 GB, free: 148.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6812/2.253, allocations: 72.08 MB / 1.041 GB, free: 76.85 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/2.253, allocations: 301.8 kB / 1.042 GB, free: 76.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/6.372, allocations: 3.938 kB / 1.042 GB, free: 76.46 MB / 0.67 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)