Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.00135/0.00135, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8711/0.8711, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 102.3 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.521e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4645, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7804/1.245, allocations: 395.9 MB / 1.021 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.245, allocations: 86.95 kB / 1.021 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.044/3.289, allocations: 0.5555 GB / 1.576 GB, free: 23.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/3.289, allocations: 4 kB / 1.576 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002042/3.289, allocations: 43.98 kB / 1.576 GB, free: 23.48 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004594/3.294, allocations: 1.85 MB / 1.578 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/3.294, allocations: 12.03 kB / 1.578 GB, free: 21.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/3.298, allocations: 0.6145 MB / 1.579 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/3.302, allocations: 1.781 MB / 1.58 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/3.302, allocations: 83.97 kB / 1.58 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/3.303, allocations: 68 kB / 1.58 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00193/3.305, allocations: 0.9964 MB / 1.581 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/3.307, allocations: 1.268 MB / 1.583 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/3.307, allocations: 4 kB / 1.583 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/3.307, allocations: 4 kB / 1.583 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/3.307, allocations: 50.14 kB / 1.583 GB, free: 16.52 MB / 0.6823 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.00872/3.316, allocations: 6.726 MB / 1.589 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/3.317, allocations: 0.5592 MB / 1.59 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/3.317, allocations: 310.5 kB / 1.59 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/3.318, allocations: 1.264 MB / 1.591 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/3.318, allocations: 43.12 kB / 1.591 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.524e-06/3.318, allocations: 0 / 1.591 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.002561/3.321, allocations: 0.8777 MB / 1.592 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/3.321, allocations: 107.4 kB / 1.592 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/3.322, allocations: 0.9669 MB / 1.593 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-05/3.322, allocations: 29.7 kB / 1.593 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/3.323, allocations: 0.7174 MB / 1.594 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/3.323, allocations: 216.8 kB / 1.594 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/3.323, allocations: 0 / 1.594 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/3.323, allocations: 337.9 kB / 1.595 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/3.323, allocations: 290.5 kB / 1.595 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/3.324, allocations: 0.5569 MB / 1.595 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/3.325, allocations: 469.7 kB / 1.596 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/3.325, allocations: 4 kB / 1.596 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00279/3.328, allocations: 1.147 MB / 1.597 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.4369/3.765, allocations: 2.455 MB / 1.599 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/3.765, allocations: 9.781 kB / 1.599 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/3.766, allocations: 357.6 kB / 1.6 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/3.768, allocations: 250.1 kB / 1.6 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/3.77, allocations: 1.072 MB / 1.601 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/3.772, allocations: 216.3 kB / 1.601 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/3.772, allocations: 56.38 kB / 1.601 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/3.773, allocations: 3.969 kB / 1.601 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/3.776, allocations: 0.9986 MB / 1.602 GB, free: 96.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/3.776, allocations: 7 kB / 1.602 GB, free: 96.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/3.777, allocations: 350.9 kB / 1.603 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/3.778, allocations: 244.1 kB / 1.603 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/3.779, allocations: 1.074 MB / 1.604 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/3.781, allocations: 183.4 kB / 1.604 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/3.782, allocations: 53.2 kB / 1.604 GB, free: 95.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003501/3.782, allocations: 128.7 kB / 1.604 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00255/3.784, allocations: 0.8779 MB / 1.605 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/3.785, allocations: 126.3 kB / 1.605 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/3.787, allocations: 0.976 MB / 1.606 GB, free: 95.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/3.787, allocations: 10.02 kB / 1.606 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/3.787, allocations: 5.828 kB / 1.606 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/3.789, allocations: 0.8858 MB / 1.607 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/3.795, allocations: 2.896 MB / 1.61 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/3.795, allocations: 3.875 kB / 1.61 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/3.796, allocations: 151.8 kB / 1.61 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006827/3.796, allocations: 354.1 kB / 1.61 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/3.796, allocations: 19.23 kB / 1.61 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/3.798, allocations: 1.145 MB / 1.611 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/3.798, allocations: 2.625 kB / 1.611 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/3.801, allocations: 1.292 MB / 1.613 GB, free: 93.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/3.801, allocations: 360.2 kB / 1.613 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/3.801, allocations: 10.91 kB / 1.613 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/3.803, allocations: 125.7 kB / 1.613 GB, free: 93.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/3.803, allocations: 56.23 kB / 1.613 GB, free: 93.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/3.803, allocations: 39.52 kB / 1.613 GB, free: 93.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001043/3.804, allocations: 0.7352 MB / 1.614 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/3.804, allocations: 0 / 1.614 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003078/3.807, allocations: 0.9744 MB / 1.615 GB, free: 93.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004223/3.812, allocations: 3.544 MB / 1.618 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002204/3.814, allocations: 1.242 MB / 1.62 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/3.814, allocations: 0 / 1.62 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/3.815, allocations: 453.3 kB / 1.62 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/3.818, allocations: 0.5705 MB / 1.621 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/3.823, allocations: 2.076 MB / 1.623 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/3.824, allocations: 1.245 MB / 1.624 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002167/3.826, allocations: 366.3 kB / 1.624 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/3.827, allocations: 0.5227 MB / 1.625 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/3.827, allocations: 2.812 kB / 1.625 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08227/3.909, allocations: 45.03 MB / 1.669 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/3.909, allocations: 183.9 kB / 1.669 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/7.549, allocations: 3.719 kB / 1.669 GB, free: 87.83 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)