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.00105/0.00105, allocations: 100 kB / 15.05 MB, free: 1.105 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.001248/0.001248, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.088/1.088, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 8 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2511, allocations: 82.32 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.574/0.8252, allocations: 135.4 MB / 0.7195 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03934/0.8646, allocations: 22.56 MB / 0.7415 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.8694, allocations: 60.06 kB / 0.7416 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.8732, allocations: 0.9404 MB / 0.7425 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009683/0.8829, allocations: 2.068 MB / 0.7445 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006698/0.8896, allocations: 1.633 MB / 0.7461 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007132/0.8967, allocations: 2.733 MB / 0.7488 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.9014, allocations: 2.826 MB / 0.7516 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.9042, allocations: 1.265 MB / 0.7528 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.9073, allocations: 1.537 MB / 0.7543 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.9079, allocations: 100 kB / 0.7544 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.9103, allocations: 0.5696 MB / 0.7549 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007298/0.9111, allocations: 0.6614 MB / 0.7556 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009985/0.9121, allocations: 0.6013 MB / 0.7562 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.9181, allocations: 4.116 MB / 0.7602 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9181, allocations: 0 / 0.7602 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.985e-06/0.9181, allocations: 0 / 0.7602 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001911/0.9183, allocations: 0 / 0.7602 GB, free: 10.99 MB / 0.5762 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.009454/0.9278, allocations: 3.703 MB / 0.7638 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.9279, allocations: 8.031 kB / 0.7638 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.9292, allocations: 434.2 kB / 0.7642 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.9424, allocations: 2.87 MB / 0.767 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/0.9484, allocations: 2.072 MB / 0.7691 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.9487, allocations: 230.2 kB / 0.7693 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.9497, allocations: 303.9 kB / 0.7696 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.963, allocations: 4.967 MB / 0.7744 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/0.9631, allocations: 0 / 0.7744 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.9635, allocations: 128 kB / 0.7745 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/0.9636, allocations: 80 kB / 0.7746 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.98, allocations: 6.162 MB / 0.7806 GB, free: 5.82 MB / 0.5919 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.03141/1.011, allocations: 13.68 MB / 0.794 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.023, allocations: 4.399 MB / 0.7983 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.024, allocations: 0.6735 MB / 0.7989 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006209/1.03, allocations: 2.364 MB / 0.8013 GB, free: 112 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 6.973e-06/1.03, allocations: 4.109 kB / 0.8013 GB, free: 108 kB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01959/1.05, allocations: 6.957 MB / 0.8081 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.05, allocations: 217.9 kB / 0.8083 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/1.055, allocations: 2.307 MB / 0.8105 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006814/1.055, allocations: 77.69 kB / 0.8106 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.057, allocations: 1.305 MB / 0.8119 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.058, allocations: 0.851 MB / 0.8127 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000587/1.059, allocations: 44 kB / 0.8127 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003942/1.059, allocations: 398.4 kB / 0.8131 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.065, allocations: 1.874 MB / 0.8149 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.07, allocations: 2.172 MB / 0.8171 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0053/1.075, allocations: 2.017 MB / 0.819 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.076, allocations: 0 / 0.819 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.0128/1.088, allocations: 4.647 MB / 0.8236 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/1.088, allocations: 11.95 kB / 0.8236 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.088, allocations: 0 / 0.8236 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/1.089, allocations: 239 kB / 0.8238 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/1.093, allocations: 0.8034 MB / 0.8246 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/1.099, allocations: 3.179 MB / 0.8277 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/1.103, allocations: 0.5364 MB / 0.8282 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008944/1.104, allocations: 103.9 kB / 0.8283 GB, free: 3.828 MB / 0.6387 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003875/1.108, allocations: 0.892 MB / 0.8292 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.109, allocations: 252.8 kB / 0.8294 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.125, allocations: 5.292 MB / 0.8346 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/1.125, allocations: 32 kB / 0.8346 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.125, allocations: 0 / 0.8346 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/1.125, allocations: 23.89 kB / 0.8347 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.151, allocations: 8.841 MB / 0.8433 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.151, allocations: 0 / 0.8433 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004157/1.155, allocations: 0.7606 MB / 0.844 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009369/1.156, allocations: 266.2 kB / 0.8443 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007207/1.157, allocations: 75.94 kB / 0.8444 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.163, allocations: 4.858 MB / 0.8491 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.163, allocations: 0 / 0.8491 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02202/1.185, allocations: 7.529 MB / 0.8565 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003725/1.189, allocations: 0.8287 MB / 0.8573 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/1.19, allocations: 48 kB / 0.8573 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/1.194, allocations: 423.7 kB / 0.8577 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000802/1.195, allocations: 169.8 kB / 0.8579 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006203/1.196, allocations: 95.92 kB / 0.858 GB, free: 4.828 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004366/1.2, allocations: 1.684 MB / 0.8596 GB, free: 3.129 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.92e-07/1.2, allocations: 0 / 0.8596 GB, free: 3.129 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004976/1.205, allocations: 0.9699 MB / 0.8606 GB, free: 2.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.4831/1.689, allocations: 9.008 MB / 0.8694 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.699, allocations: 4.537 MB / 0.8738 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.699, allocations: 6.906 kB / 0.8738 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.705, allocations: 2.6 MB / 0.8763 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.708, allocations: 0.533 MB / 0.8769 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04904/1.757, allocations: 26.12 MB / 0.9024 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/1.76, allocations: 2.437 MB / 0.9048 GB, free: 194.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005207/1.765, allocations: 1.098 MB / 0.9058 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.767, allocations: 1.362 MB / 0.9072 GB, free: 192.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.673e-06/1.767, allocations: 0 / 0.9072 GB, free: 192.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.889, allocations: 65.87 MB / 0.9715 GB, free: 149.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.889, allocations: 264.3 kB / 0.9717 GB, free: 148.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.833/6.722, allocations: 0 / 0.9717 GB, free: 148.9 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/linux/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) Environment - environmentSimulation: