Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_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.0009187/0.0009186, 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.4785/0.4785, allocations: 90.91 MB / 99.34 MB, free: 2.211 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.358/1.358, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0008671/0.0008671, allocations: 105.6 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.697e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.213, allocations: 386.2 MB / 0.9307 GB, free: 94.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/1.213, allocations: 91.62 kB / 0.9308 GB, free: 94.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.276/3.489, allocations: 0.6467 GB / 1.578 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/3.489, allocations: 2.938 kB / 1.578 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001926/3.489, allocations: 37.52 kB / 1.578 GB, free: 86.51 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.003897/3.493, allocations: 1.495 MB / 1.579 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/3.493, allocations: 7.875 kB / 1.579 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/3.496, allocations: 0.4897 MB / 1.58 GB, free: 85.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/3.499, allocations: 1.309 MB / 1.581 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/3.499, allocations: 94.8 kB / 1.581 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/3.5, allocations: 55.86 kB / 1.581 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/3.501, allocations: 0.6526 MB / 1.582 GB, free: 85.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/3.502, allocations: 0.7724 MB / 1.582 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/3.502, allocations: 3.156 kB / 1.582 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-05/3.503, allocations: 0 / 1.582 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/3.503, allocations: 35.58 kB / 1.582 GB, free: 85.22 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.006235/3.509, allocations: 4.525 MB / 1.587 GB, free: 82.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/3.51, allocations: 0.5703 MB / 1.587 GB, free: 82.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/3.51, allocations: 270 kB / 1.588 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/3.511, allocations: 0.8495 MB / 1.588 GB, free: 81.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/3.511, allocations: 46.06 kB / 1.588 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/3.511, allocations: 2.156 kB / 1.588 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.001707/3.513, allocations: 0.7159 MB / 1.589 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/3.513, allocations: 60.28 kB / 1.589 GB, free: 81.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/3.514, allocations: 0.6832 MB / 1.59 GB, free: 81.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.73e-05/3.514, allocations: 29.48 kB / 1.59 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/3.514, allocations: 0.5079 MB / 1.59 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/3.514, allocations: 179.7 kB / 1.591 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/3.514, allocations: 3.906 kB / 1.591 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/3.514, allocations: 329.3 kB / 1.591 GB, free: 80.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/3.515, allocations: 203 kB / 1.591 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/3.515, allocations: 410.4 kB / 1.592 GB, free: 80.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/3.516, allocations: 279.5 kB / 1.592 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/3.516, allocations: 0 / 1.592 GB, free: 80.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003022/3.519, allocations: 0.9668 MB / 1.593 GB, free: 80.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002396/3.519, allocations: 0.967 MB / 1.594 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/3.519, allocations: 1.844 kB / 1.594 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/3.52, allocations: 308.2 kB / 1.594 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/3.52, allocations: 113.4 kB / 1.594 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/3.522, allocations: 0.9488 MB / 1.595 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/3.523, allocations: 141.4 kB / 1.595 GB, free: 79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/3.523, allocations: 35.5 kB / 1.595 GB, free: 79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/3.523, allocations: 3.781 kB / 1.595 GB, free: 79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/3.526, allocations: 0.8428 MB / 1.596 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/3.526, allocations: 6.531 kB / 1.596 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007186/3.527, allocations: 296.7 kB / 1.596 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/3.527, allocations: 114.3 kB / 1.596 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/3.528, allocations: 0.9347 MB / 1.597 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/3.53, allocations: 149.6 kB / 1.597 GB, free: 78.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/3.53, allocations: 27.84 kB / 1.597 GB, free: 78.43 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.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.0003087/3.53, allocations: 113.5 kB / 1.598 GB, free: 78.32 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001557/3.532, allocations: 0.7088 MB / 1.598 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/3.532, allocations: 101.7 kB / 1.598 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/3.535, allocations: 1.059 MB / 1.599 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/3.535, allocations: 7.031 kB / 1.599 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/3.535, allocations: 3.094 kB / 1.599 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/3.535, allocations: 3.844 kB / 1.599 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/3.539, allocations: 1.887 MB / 1.601 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/3.539, allocations: 3.516 kB / 1.601 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/3.539, allocations: 103.2 kB / 1.601 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/3.54, allocations: 314.6 kB / 1.602 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/3.54, allocations: 10.19 kB / 1.602 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/3.541, allocations: 0.9701 MB / 1.603 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/3.541, allocations: 2.562 kB / 1.603 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/3.543, allocations: 0.9797 MB / 1.604 GB, free: 76.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/3.543, allocations: 277.3 kB / 1.604 GB, free: 76.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/3.544, allocations: 7.719 kB / 1.604 GB, free: 76.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/3.545, allocations: 118.2 kB / 1.604 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/3.545, allocations: 47.66 kB / 1.604 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/3.545, allocations: 29.62 kB / 1.604 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009001/3.546, allocations: 0.5241 MB / 1.605 GB, free: 76.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.546, allocations: 0 / 1.605 GB, free: 76.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002305/3.548, allocations: 0.6131 MB / 1.605 GB, free: 76.45 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.003285/3.551, allocations: 2.525 MB / 1.608 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001787/3.553, allocations: 0.9209 MB / 1.609 GB, free: 75.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/3.553, allocations: 0 / 1.609 GB, free: 75.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/3.554, allocations: 335.5 kB / 1.609 GB, free: 75.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/3.556, allocations: 439.2 kB / 1.609 GB, free: 75.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/3.561, allocations: 1.542 MB / 1.611 GB, free: 74.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/3.561, allocations: 1.091 MB / 1.612 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0014/3.563, allocations: 250 kB / 1.612 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/3.563, allocations: 385.8 kB / 1.612 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.443e-06/3.563, allocations: 0 / 1.612 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/3.631, allocations: 33.9 MB / 1.646 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/3.632, allocations: 185.5 kB / 1.646 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/6.507, allocations: 0 / 1.646 GB, free: 65.28 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)