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.001083/0.001083, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4922/0.4922, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008675, allocations: 93.88 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.941e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3653, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.465, allocations: 386.8 MB / 0.9381 GB, free: 231.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.465, allocations: 88.27 kB / 0.9382 GB, free: 231.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.916/3.382, allocations: 0.6498 GB / 1.588 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.193e-06/3.382, allocations: 0 / 1.588 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001747/3.382, allocations: 35.98 kB / 1.588 GB, free: 42.42 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.003576/3.385, allocations: 1.501 MB / 1.589 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/3.386, allocations: 15.98 kB / 1.589 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002784/3.386, allocations: 122.8 kB / 1.59 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/3.388, allocations: 497.9 kB / 1.59 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/3.392, allocations: 1.308 MB / 1.591 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/3.392, allocations: 130.6 kB / 1.591 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/3.392, allocations: 83.95 kB / 1.592 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/3.394, allocations: 0.8779 MB / 1.592 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/3.394, allocations: 0 / 1.592 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/3.394, allocations: 32 kB / 1.592 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/3.394, allocations: 29.98 kB / 1.592 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/3.395, allocations: 0.7068 MB / 1.593 GB, free: 36.98 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.005549/3.401, allocations: 4.538 MB / 1.598 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/3.403, allocations: 0.8056 MB / 1.598 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/3.404, allocations: 294.1 kB / 1.599 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/3.404, allocations: 1.013 MB / 1.6 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/3.404, allocations: 39 kB / 1.6 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 3.607e-06/3.404, allocations: 3.75 kB / 1.6 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.001352/3.406, allocations: 0.7144 MB / 1.6 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/3.406, allocations: 59.83 kB / 1.6 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/3.407, allocations: 0.8097 MB / 1.601 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/3.407, allocations: 41.7 kB / 1.601 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/3.407, allocations: 0.5045 MB / 1.602 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.407, allocations: 185.2 kB / 1.602 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/3.407, allocations: 12 kB / 1.602 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/3.407, allocations: 330 kB / 1.602 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/3.408, allocations: 217 kB / 1.602 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/3.408, allocations: 421.4 kB / 1.603 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/3.408, allocations: 239.4 kB / 1.603 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/3.408, allocations: 4 kB / 1.603 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002538/3.411, allocations: 0.9682 MB / 1.604 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/3.411, allocations: 0.9743 MB / 1.605 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/3.411, allocations: 4 kB / 1.605 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/3.412, allocations: 327.7 kB / 1.605 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/3.413, allocations: 119.8 kB / 1.605 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008251/3.413, allocations: 0.894 MB / 1.606 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/3.415, allocations: 167.3 kB / 1.606 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/3.415, allocations: 27.98 kB / 1.606 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/3.415, allocations: 11.95 kB / 1.606 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002319/3.417, allocations: 0.8504 MB / 1.607 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/3.417, allocations: 4 kB / 1.607 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007696/3.418, allocations: 316.3 kB / 1.608 GB, free: 21.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/3.418, allocations: 123.8 kB / 1.608 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/3.419, allocations: 0.8913 MB / 1.609 GB, free: 20.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/3.42, allocations: 159.4 kB / 1.609 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/3.42, allocations: 35.98 kB / 1.609 GB, free: 20.14 MB / 0.6042 GB 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/3.42, allocations: 133 kB / 1.609 GB, free: 20 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/3.421, allocations: 114.6 kB / 1.609 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/3.423, allocations: 1.136 MB / 1.61 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/3.423, allocations: 4 kB / 1.61 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/3.423, allocations: 0 / 1.61 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/3.423, allocations: 3.984 kB / 1.61 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/3.427, allocations: 2.179 MB / 1.612 GB, free: 16.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/3.427, allocations: 3.875 kB / 1.612 GB, free: 16.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/3.428, allocations: 104 kB / 1.612 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/3.428, allocations: 338.1 kB / 1.613 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/3.429, allocations: 19.98 kB / 1.613 GB, free: 16.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007632/3.429, allocations: 0.9075 MB / 1.614 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.429, allocations: 4.031 kB / 1.614 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/3.43, allocations: 1.023 MB / 1.615 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/3.431, allocations: 291.5 kB / 1.615 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/3.431, allocations: 12 kB / 1.615 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009224/3.432, allocations: 139.7 kB / 1.615 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/3.432, allocations: 36.38 kB / 1.615 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/3.432, allocations: 23.98 kB / 1.615 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008047/3.433, allocations: 0.6527 MB / 1.616 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/3.433, allocations: 3.938 kB / 1.616 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00193/3.435, allocations: 0.6239 MB / 1.616 GB, free: 12.2 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.002654/3.438, allocations: 2.528 MB / 1.619 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001899/3.439, allocations: 0.9967 MB / 1.62 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/3.439, allocations: 3.938 kB / 1.62 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/3.44, allocations: 361.2 kB / 1.62 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/3.442, allocations: 0.4948 MB / 1.621 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/3.445, allocations: 1.628 MB / 1.622 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/3.446, allocations: 1.091 MB / 1.623 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001123/3.447, allocations: 277.9 kB / 1.624 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/3.447, allocations: 395.3 kB / 1.624 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/3.447, allocations: 0 / 1.624 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4267/3.874, allocations: 41.17 MB / 1.664 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/3.874, allocations: 225.2 kB / 1.664 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/7.086, allocations: 0 / 1.664 GB, free: 89.8 MB / 0.6198 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)