Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001376/0.001376, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001359/0.001359, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 68.27 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1964, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5368/0.7333, allocations: 157.9 MB / 0.7382 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04115/0.7745, allocations: 26.24 MB / 0.7638 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005944/0.7805, allocations: 67.62 kB / 0.7639 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.7841, allocations: 0.8829 MB / 0.7647 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.7919, allocations: 1.472 MB / 0.7662 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006747/0.7987, allocations: 1.473 MB / 0.7676 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.8095, allocations: 4.575 MB / 0.7721 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007796/0.8174, allocations: 4.108 MB / 0.7761 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.8225, allocations: 1.941 MB / 0.778 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.8274, allocations: 2.374 MB / 0.7803 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.8293, allocations: 424 kB / 0.7807 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.8332, allocations: 1.011 MB / 0.7817 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.8356, allocations: 1.114 MB / 0.7828 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004433/0.8401, allocations: 1.924 MB / 0.7847 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.8503, allocations: 5.418 MB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.8504, allocations: 0 / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8504, allocations: 4 kB / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002629/0.8507, allocations: 0 / 0.79 GB, free: 10.06 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01455/0.8652, allocations: 4.312 MB / 0.7942 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.8653, allocations: 11.97 kB / 0.7942 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001878/0.8672, allocations: 438.2 kB / 0.7946 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/0.882, allocations: 2.753 MB / 0.7973 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/0.8884, allocations: 2.191 MB / 0.7994 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.8887, allocations: 230.2 kB / 0.7996 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/0.8902, allocations: 300.1 kB / 0.7999 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.9062, allocations: 4.959 MB / 0.8048 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.9064, allocations: 7.938 kB / 0.8048 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.9076, allocations: 128 kB / 0.8049 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/0.9077, allocations: 75.94 kB / 0.805 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.9243, allocations: 6.099 MB / 0.8109 GB, free: 4.34 MB / 0.6231 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.03175/0.9561, allocations: 13.63 MB / 0.8242 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.9674, allocations: 4.354 MB / 0.8285 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005532/0.973, allocations: 2.316 MB / 0.8308 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.9741, allocations: 0.6655 MB / 0.8314 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006277/0.9804, allocations: 2.378 MB / 0.8337 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 6.212e-06/0.9805, allocations: 0 / 0.8337 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01995/1, allocations: 6.939 MB / 0.8405 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.001, allocations: 210 kB / 0.8407 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/1.005, allocations: 2.303 MB / 0.843 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000719/1.006, allocations: 69.7 kB / 0.843 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.007, allocations: 1.305 MB / 0.8443 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/1.009, allocations: 0.851 MB / 0.8451 GB, free: 496 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.01, allocations: 460 kB / 0.8456 GB, free: 28 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.011, allocations: 301.1 kB / 0.8459 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/1.015, allocations: 1.874 MB / 0.8477 GB, free: 13.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005257/1.021, allocations: 2.188 MB / 0.8498 GB, free: 11.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009849/1.031, allocations: 4.037 MB / 0.8538 GB, free: 7.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.031, allocations: 0 / 0.8538 GB, free: 7.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01274/1.043, allocations: 4.643 MB / 0.8583 GB, free: 2.746 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.044, allocations: 8 kB / 0.8583 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.044, allocations: 4 kB / 0.8583 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/1.044, allocations: 243.3 kB / 0.8585 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/1.048, allocations: 0.7644 MB / 0.8593 GB, free: 1.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.38/1.428, allocations: 3.363 MB / 0.8626 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.432, allocations: 0.5327 MB / 0.8631 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.433, allocations: 104.1 kB / 0.8632 GB, free: 214.4 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001794/1.435, allocations: 0.8952 MB / 0.8641 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.435, allocations: 256.9 kB / 0.8643 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.446, allocations: 5.272 MB / 0.8695 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.446, allocations: 24.09 kB / 0.8695 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.446, allocations: 3.25 kB / 0.8695 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/1.446, allocations: 16.22 kB / 0.8695 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.461, allocations: 8.835 MB / 0.8781 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.461, allocations: 0 / 0.8781 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.464, allocations: 0.7193 MB / 0.8788 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/1.465, allocations: 261.8 kB / 0.8791 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/1.465, allocations: 76.06 kB / 0.8792 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/1.469, allocations: 5.237 MB / 0.8843 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.469, allocations: 0 / 0.8843 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.484, allocations: 7.525 MB / 0.8916 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.486, allocations: 0.7753 MB / 0.8924 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006966/1.486, allocations: 60.45 kB / 0.8924 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.49, allocations: 401.6 kB / 0.8928 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.49, allocations: 167.5 kB / 0.893 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/1.49, allocations: 94.36 kB / 0.8931 GB, free: 202.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003802/1.494, allocations: 1.684 MB / 0.8947 GB, free: 202.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.494, allocations: 3.719 kB / 0.8947 GB, free: 202.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003662/1.498, allocations: 0.9688 MB / 0.8957 GB, free: 202 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02127/1.519, allocations: 9.008 MB / 0.9045 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.539, allocations: 7.741 MB / 0.912 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.539, allocations: 0 / 0.912 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007958/1.547, allocations: 2.602 MB / 0.9146 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/1.553, allocations: 0.6384 MB / 0.9152 GB, free: 196.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07145/1.624, allocations: 31.69 MB / 0.9461 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004377/1.629, allocations: 2.366 MB / 0.9484 GB, free: 172.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005589/1.634, allocations: 1.094 MB / 0.9495 GB, free: 171.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003044/1.637, allocations: 1.366 MB / 0.9508 GB, free: 169.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.353e-06/1.637, allocations: 0 / 0.9508 GB, free: 169.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.747, allocations: 65.17 MB / 1.014 GB, free: 105.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.747, allocations: 296 kB / 1.015 GB, free: 104.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/5.492, allocations: 0 / 1.015 GB, free: 104.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)