Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.001841/0.001841, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5204/0.5204, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.537/1.537, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 107.1 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 72.3 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.26, allocations: 382.8 MB / 0.9428 GB, free: 84.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.261, allocations: 89.39 kB / 0.9429 GB, free: 84.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.469/4.73, allocations: 0.8782 GB / 1.821 GB, free: 85.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/4.73, allocations: 0 / 1.821 GB, free: 85.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003254/4.73, allocations: 43.7 kB / 1.821 GB, free: 85.47 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.01007/4.74, allocations: 2.018 MB / 1.823 GB, free: 84.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/4.74, allocations: 14.72 kB / 1.823 GB, free: 84.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007367/4.741, allocations: 143.3 kB / 1.823 GB, free: 84.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/4.743, allocations: 243.8 kB / 1.823 GB, free: 84.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006666/4.75, allocations: 1.717 MB / 1.825 GB, free: 84.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/4.75, allocations: 73.75 kB / 1.825 GB, free: 84.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/4.75, allocations: 107.5 kB / 1.825 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/4.754, allocations: 1.104 MB / 1.826 GB, free: 84.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/4.754, allocations: 3.953 kB / 1.826 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/4.754, allocations: 41.28 kB / 1.826 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/4.754, allocations: 40.83 kB / 1.826 GB, free: 84.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/4.757, allocations: 0.912 MB / 1.827 GB, free: 84.01 MB / 0.6198 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.009165/4.766, allocations: 4.734 MB / 1.832 GB, free: 82.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/4.769, allocations: 0.6224 MB / 1.833 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007569/4.769, allocations: 0.8325 MB / 1.833 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/4.769, allocations: 34.75 kB / 1.833 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.669e-06/4.769, allocations: 3.719 kB / 1.833 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.01215/4.782, allocations: 1.947 MB / 1.835 GB, free: 80.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/4.782, allocations: 59.59 kB / 1.835 GB, free: 80.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/4.785, allocations: 1.116 MB / 1.836 GB, free: 80.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/4.785, allocations: 39.23 kB / 1.836 GB, free: 80.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006516/4.786, allocations: 0.6265 MB / 1.837 GB, free: 80.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/4.786, allocations: 209.4 kB / 1.837 GB, free: 80.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/4.786, allocations: 14.72 kB / 1.837 GB, free: 80.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/4.786, allocations: 330 kB / 1.838 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/4.787, allocations: 274.5 kB / 1.838 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/4.788, allocations: 0.4966 MB / 1.838 GB, free: 79.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/4.789, allocations: 344 kB / 1.839 GB, free: 79.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/4.789, allocations: 0 / 1.839 GB, free: 79.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006455/4.795, allocations: 1.344 MB / 1.84 GB, free: 79.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/4.796, allocations: 1.344 MB / 1.841 GB, free: 78.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/4.796, allocations: 3.531 kB / 1.841 GB, free: 78.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008684/4.797, allocations: 170.3 kB / 1.841 GB, free: 78.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/4.797, allocations: 152.6 kB / 1.842 GB, free: 78.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/4.799, allocations: 0.7422 MB / 1.842 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/4.801, allocations: 164 kB / 1.843 GB, free: 77.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/4.801, allocations: 36.56 kB / 1.843 GB, free: 77.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/4.801, allocations: 5.469 kB / 1.843 GB, free: 77.67 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005599/4.806, allocations: 1.2 MB / 1.844 GB, free: 77.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/4.807, allocations: 3.312 kB / 1.844 GB, free: 77.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/4.807, allocations: 161.6 kB / 1.844 GB, free: 77.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/4.808, allocations: 156.7 kB / 1.844 GB, free: 77.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/4.809, allocations: 0.7337 MB / 1.845 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/4.811, allocations: 154.2 kB / 1.845 GB, free: 77.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/4.811, allocations: 33.52 kB / 1.845 GB, free: 77.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001133/4.812, allocations: 416 kB / 1.845 GB, free: 76.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/4.813, allocations: 135.3 kB / 1.845 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/4.819, allocations: 1.346 MB / 1.847 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/4.819, allocations: 7.688 kB / 1.847 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/4.819, allocations: 0 / 1.847 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005055/4.824, allocations: 1.232 MB / 1.848 GB, free: 76.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008519/4.832, allocations: 2.699 MB / 1.851 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/4.832, allocations: 4.969 kB / 1.851 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/4.833, allocations: 127.4 kB / 1.851 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007333/4.834, allocations: 152.3 kB / 1.851 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/4.834, allocations: 24.2 kB / 1.851 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008854/4.835, allocations: 0.72 MB / 1.852 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/4.835, allocations: 4.594 kB / 1.852 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006927/4.842, allocations: 2.025 MB / 1.854 GB, free: 74.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/4.843, allocations: 331 kB / 1.854 GB, free: 74.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/4.843, allocations: 18.31 kB / 1.854 GB, free: 74.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/4.845, allocations: 83.55 kB / 1.854 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/4.845, allocations: 59.02 kB / 1.854 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/4.845, allocations: 33.23 kB / 1.854 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001731/4.847, allocations: 0.8896 MB / 1.855 GB, free: 74.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/4.847, allocations: 2.5 kB / 1.855 GB, free: 74.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003111/4.85, allocations: 0.7882 MB / 1.856 GB, free: 74.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.009035/4.859, allocations: 4.033 MB / 1.86 GB, free: 72.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00353/4.862, allocations: 1.107 MB / 1.861 GB, free: 72.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/4.862, allocations: 320 / 1.861 GB, free: 72.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/4.864, allocations: 409.8 kB / 1.861 GB, free: 72.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/4.869, allocations: 0.7497 MB / 1.862 GB, free: 72.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/4.895, allocations: 10.48 MB / 1.872 GB, free: 67.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/4.896, allocations: 1.201 MB / 1.873 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002267/4.898, allocations: 297 kB / 1.874 GB, free: 66.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/4.899, allocations: 0.5144 MB / 1.874 GB, free: 66.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/4.899, allocations: 0 / 1.874 GB, free: 66.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09666/4.996, allocations: 47.35 MB / 1.92 GB, free: 48.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/4.996, allocations: 244.6 kB / 1.921 GB, free: 48.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/8.505, allocations: 0 / 1.921 GB, free: 48.4 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)