Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001117/0.001117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001062/0.001062, allocations: 191 kB / 16.25 MB, free: 6.625 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9591/0.9591, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 61.25 kB / 0.5049 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.201, allocations: 80.93 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5764/0.7775, allocations: 158.5 MB / 0.7388 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03771/0.8152, allocations: 26.43 MB / 0.7646 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004637/0.8199, allocations: 67.62 kB / 0.7647 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.8231, allocations: 0.914 MB / 0.7656 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.8317, allocations: 1.534 MB / 0.7671 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.8373, allocations: 1.524 MB / 0.7685 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007573/0.8449, allocations: 4.823 MB / 0.7733 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007205/0.8521, allocations: 4.279 MB / 0.7774 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.8569, allocations: 2.013 MB / 0.7794 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004549/0.8614, allocations: 2.495 MB / 0.7818 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.8633, allocations: 452 kB / 0.7823 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.8671, allocations: 1.023 MB / 0.7833 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.8694, allocations: 1.172 MB / 0.7844 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004419/0.8738, allocations: 2.041 MB / 0.7864 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.8842, allocations: 5.694 MB / 0.792 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.8842, allocations: 4 kB / 0.792 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8842, allocations: 0 / 0.792 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002929/0.8845, allocations: 4 kB / 0.792 GB, free: 8.039 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01497/0.8995, allocations: 4.489 MB / 0.7964 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.8996, allocations: 12.03 kB / 0.7964 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/0.9011, allocations: 451.1 kB / 0.7968 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.9151, allocations: 2.772 MB / 0.7995 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.9205, allocations: 2.27 MB / 0.8017 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.9207, allocations: 242.5 kB / 0.802 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009794/0.9217, allocations: 312 kB / 0.8023 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.9343, allocations: 5.144 MB / 0.8073 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/0.9344, allocations: 0 / 0.8073 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.9348, allocations: 132 kB / 0.8074 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.9349, allocations: 83.94 kB / 0.8075 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.9503, allocations: 6.296 MB / 0.8136 GB, free: 1.602 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.03577/0.9861, allocations: 14.51 MB / 0.8278 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.9979, allocations: 4.515 MB / 0.8322 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/1.004, allocations: 2.446 MB / 0.8346 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1.005, allocations: 0.6736 MB / 0.8353 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006153/1.011, allocations: 2.461 MB / 0.8377 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 7.073e-06/1.011, allocations: 0 / 0.8377 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.02024/1.031, allocations: 7.532 MB / 0.845 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.031, allocations: 214 kB / 0.8452 GB, free: 380 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.036, allocations: 2.386 MB / 0.8476 GB, free: 13.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005832/1.036, allocations: 73.7 kB / 0.8476 GB, free: 13.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.038, allocations: 1.364 MB / 0.849 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.039, allocations: 0.8932 MB / 0.8498 GB, free: 11.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/1.041, allocations: 484.4 kB / 0.8503 GB, free: 11.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/1.041, allocations: 305.1 kB / 0.8506 GB, free: 10.81 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004634/1.046, allocations: 1.948 MB / 0.8525 GB, free: 8.855 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/1.051, allocations: 2.264 MB / 0.8547 GB, free: 6.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.062, allocations: 4.207 MB / 0.8588 GB, free: 2.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.062, allocations: 0 / 0.8588 GB, free: 2.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.4218/1.484, allocations: 4.913 MB / 0.8636 GB, free: 215.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.484, allocations: 6.406 kB / 0.8636 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.484, allocations: 3.344 kB / 0.8636 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/1.485, allocations: 347.4 kB / 0.8639 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/1.489, allocations: 0.7757 MB / 0.8647 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/1.494, allocations: 4.249 MB / 0.8688 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/1.499, allocations: 0.5444 MB / 0.8694 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006462/1.499, allocations: 104.1 kB / 0.8695 GB, free: 213.3 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002514/1.502, allocations: 0.9204 MB / 0.8704 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009812/1.503, allocations: 273.3 kB / 0.8706 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.515, allocations: 5.549 MB / 0.8761 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.515, allocations: 28.53 kB / 0.8761 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.515, allocations: 2.875 kB / 0.8761 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/1.515, allocations: 13.45 kB / 0.8761 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/1.534, allocations: 9.293 MB / 0.8852 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.534, allocations: 3 kB / 0.8852 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.537, allocations: 0.7343 MB / 0.8859 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/1.538, allocations: 385.2 kB / 0.8863 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/1.539, allocations: 76.38 kB / 0.8863 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/1.545, allocations: 6.304 MB / 0.8925 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.545, allocations: 1.75 kB / 0.8925 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/1.565, allocations: 7.912 MB / 0.9002 GB, free: 200.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.568, allocations: 0.807 MB / 0.901 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.569, allocations: 55.2 kB / 0.9011 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004022/1.573, allocations: 412.4 kB / 0.9015 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007287/1.574, allocations: 173.2 kB / 0.9016 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003479/1.574, allocations: 102.2 kB / 0.9017 GB, free: 199.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004099/1.578, allocations: 1.747 MB / 0.9034 GB, free: 198.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.01e-07/1.578, allocations: 0 / 0.9034 GB, free: 198.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005116/1.583, allocations: 1.027 MB / 0.9044 GB, free: 198.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.02496/1.608, allocations: 9.408 MB / 0.9136 GB, free: 195.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02358/1.632, allocations: 8.094 MB / 0.9215 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.632, allocations: 1.375 kB / 0.9215 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007316/1.639, allocations: 2.765 MB / 0.9242 GB, free: 192.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.643, allocations: 0.6667 MB / 0.9249 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06568/1.709, allocations: 33.4 MB / 0.9575 GB, free: 163.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.711, allocations: 2.444 MB / 0.9599 GB, free: 160.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004181/1.715, allocations: 1.092 MB / 0.9609 GB, free: 159.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/1.717, allocations: 1.44 MB / 0.9623 GB, free: 158.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.41e-07/1.717, allocations: 4 kB / 0.9624 GB, free: 158.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.821, allocations: 68.78 MB / 1.03 GB, free: 89.89 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.821, allocations: 298.1 kB / 1.03 GB, free: 89.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.539, allocations: 4 kB / 1.03 GB, free: 89.52 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)