Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4947/0.4947, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008655, allocations: 91.89 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.925e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.278, allocations: 386.2 MB / 0.9307 GB, free: 94.95 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.279, allocations: 87.89 kB / 0.9308 GB, free: 94.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.376/3.655, allocations: 0.6468 GB / 1.578 GB, free: 93.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/3.655, allocations: 1.969 kB / 1.578 GB, free: 93.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001216/3.655, allocations: 32.27 kB / 1.578 GB, free: 93.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003189/3.658, allocations: 1.501 MB / 1.579 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/3.658, allocations: 10.94 kB / 1.579 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/3.66, allocations: 491.4 kB / 1.58 GB, free: 92.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/3.663, allocations: 1.31 MB / 1.581 GB, free: 92.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/3.663, allocations: 106.3 kB / 1.581 GB, free: 92.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/3.663, allocations: 47.22 kB / 1.581 GB, free: 92.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/3.664, allocations: 0.6463 MB / 1.582 GB, free: 92.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/3.665, allocations: 0.7769 MB / 1.582 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/3.665, allocations: 3.438 kB / 1.582 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/3.665, allocations: 3.562 kB / 1.582 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/3.665, allocations: 27.19 kB / 1.582 GB, free: 92.15 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004699/3.67, allocations: 4.538 MB / 1.587 GB, free: 89.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/3.671, allocations: 0.5663 MB / 1.587 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/3.671, allocations: 272.8 kB / 1.588 GB, free: 89.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/3.672, allocations: 0.8547 MB / 1.589 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/3.672, allocations: 41.38 kB / 1.589 GB, free: 88.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/3.672, allocations: 0 / 1.589 GB, free: 88.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.002771/3.674, allocations: 0.9215 MB / 1.589 GB, free: 88.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/3.675, allocations: 57.62 kB / 1.589 GB, free: 88.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/3.675, allocations: 0.6915 MB / 1.59 GB, free: 88.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/3.675, allocations: 29.33 kB / 1.59 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/3.676, allocations: 0.508 MB / 1.591 GB, free: 88.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/3.676, allocations: 174.1 kB / 1.591 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/3.676, allocations: 0 / 1.591 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.893e-05/3.676, allocations: 330.7 kB / 1.591 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/3.676, allocations: 203.2 kB / 1.591 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/3.676, allocations: 398.4 kB / 1.592 GB, free: 87.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/3.677, allocations: 280 kB / 1.592 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/3.677, allocations: 3.953 kB / 1.592 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001257/3.678, allocations: 0.7588 MB / 1.593 GB, free: 87.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/3.679, allocations: 0.9729 MB / 1.594 GB, free: 86.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/3.679, allocations: 0 / 1.594 GB, free: 86.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/3.679, allocations: 296.3 kB / 1.594 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/3.68, allocations: 127.6 kB / 1.594 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009196/3.681, allocations: 0.9413 MB / 1.595 GB, free: 85.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/3.682, allocations: 142 kB / 1.595 GB, free: 85.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/3.682, allocations: 28.89 kB / 1.595 GB, free: 85.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/3.682, allocations: 7.656 kB / 1.595 GB, free: 85.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/3.683, allocations: 0.6222 MB / 1.596 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/3.683, allocations: 10.36 kB / 1.596 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/3.684, allocations: 302.3 kB / 1.596 GB, free: 85.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/3.684, allocations: 122.9 kB / 1.596 GB, free: 85.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008467/3.685, allocations: 0.9263 MB / 1.597 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/3.686, allocations: 138.6 kB / 1.597 GB, free: 85.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/3.686, allocations: 32.59 kB / 1.597 GB, free: 85.38 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.con.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002213/3.686, allocations: 125.6 kB / 1.597 GB, free: 85.26 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002553/3.689, allocations: 0.9081 MB / 1.598 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/3.689, allocations: 97.72 kB / 1.598 GB, free: 85.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/3.692, allocations: 1.044 MB / 1.599 GB, free: 85.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/3.692, allocations: 6.656 kB / 1.599 GB, free: 85.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/3.692, allocations: 3.281 kB / 1.599 GB, free: 85.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/3.692, allocations: 3.516 kB / 1.599 GB, free: 85.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/3.695, allocations: 1.887 MB / 1.601 GB, free: 84.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/3.695, allocations: 0 / 1.601 GB, free: 84.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/3.695, allocations: 101 kB / 1.601 GB, free: 84.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/3.696, allocations: 319.3 kB / 1.602 GB, free: 84.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/3.696, allocations: 12.41 kB / 1.602 GB, free: 84.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008878/3.697, allocations: 0.9765 MB / 1.603 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/3.697, allocations: 0 / 1.603 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/3.7, allocations: 1.324 MB / 1.604 GB, free: 83.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/3.701, allocations: 279 kB / 1.604 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/3.701, allocations: 3.953 kB / 1.604 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/3.702, allocations: 122.8 kB / 1.604 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/3.702, allocations: 42.97 kB / 1.604 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/3.702, allocations: 22.17 kB / 1.604 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005858/3.702, allocations: 0.5345 MB / 1.605 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/3.702, allocations: 0 / 1.605 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00155/3.704, allocations: 0.6112 MB / 1.605 GB, free: 83.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003877/3.708, allocations: 2.722 MB / 1.608 GB, free: 82.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00153/3.709, allocations: 0.9324 MB / 1.609 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/3.709, allocations: 0 / 1.609 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/3.71, allocations: 339.4 kB / 1.609 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/3.712, allocations: 427.6 kB / 1.61 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/3.715, allocations: 1.561 MB / 1.611 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/3.715, allocations: 1.093 MB / 1.612 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001048/3.716, allocations: 239.2 kB / 1.613 GB, free: 80.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/3.717, allocations: 392.4 kB / 1.613 GB, free: 80.74 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/3.717, allocations: 3.906 kB / 1.613 GB, free: 80.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/3.775, allocations: 33.9 MB / 1.646 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/3.775, allocations: 176.4 kB / 1.646 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/6.818, allocations: 4 kB / 1.646 GB, free: 67.57 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)