Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_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.001397/0.001397, 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.4987/0.4987, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.305/1.305, allocations: 221.3 MB / 348.3 MB, free: 428 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.001048/0.001048, allocations: 102.6 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.392e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4028, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.458, allocations: 386.9 MB / 0.9382 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.459, allocations: 87.36 kB / 0.9382 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.606/5.065, allocations: 1.068 GB / 2.006 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.011e-06/5.065, allocations: 0 / 2.006 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001969/5.065, allocations: 35.47 kB / 2.006 GB, free: 78.01 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004239/5.07, allocations: 1.488 MB / 2.008 GB, free: 77.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/5.07, allocations: 11.48 kB / 2.008 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003166/5.07, allocations: 122.5 kB / 2.008 GB, free: 77.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/5.072, allocations: 449.7 kB / 2.008 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/5.076, allocations: 1.299 MB / 2.009 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/5.076, allocations: 128.4 kB / 2.009 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/5.076, allocations: 83.34 kB / 2.01 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/5.078, allocations: 0.8722 MB / 2.01 GB, free: 76.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/5.078, allocations: 0 / 2.01 GB, free: 76.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/5.078, allocations: 30.88 kB / 2.01 GB, free: 76.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/5.078, allocations: 29.5 kB / 2.01 GB, free: 76.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/5.08, allocations: 0.6605 MB / 2.011 GB, free: 76.43 MB / 0.6198 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.006518/5.086, allocations: 4.725 MB / 2.016 GB, free: 73.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/5.089, allocations: 0.7087 MB / 2.016 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/5.089, allocations: 209.5 kB / 2.017 GB, free: 72.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/5.09, allocations: 0.9085 MB / 2.017 GB, free: 71.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/5.09, allocations: 38.22 kB / 2.018 GB, free: 71.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/5.09, allocations: 2.438 kB / 2.018 GB, free: 71.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.002494/5.092, allocations: 0.7684 MB / 2.018 GB, free: 71.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/5.092, allocations: 60.09 kB / 2.018 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/5.093, allocations: 0.9049 MB / 2.019 GB, free: 70.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/5.093, allocations: 33.33 kB / 2.019 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/5.094, allocations: 0.5331 MB / 2.02 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/5.094, allocations: 146.1 kB / 2.02 GB, free: 70.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/5.094, allocations: 13.75 kB / 2.02 GB, free: 70.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/5.094, allocations: 332.7 kB / 2.02 GB, free: 70.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/5.094, allocations: 180.9 kB / 2.02 GB, free: 70 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/5.095, allocations: 430.7 kB / 2.021 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/5.095, allocations: 221.7 kB / 2.021 GB, free: 69.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.095, allocations: 2.156 kB / 2.021 GB, free: 69.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002598/5.098, allocations: 0.9367 MB / 2.022 GB, free: 69.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/5.098, allocations: 1.593 MB / 2.024 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/5.098, allocations: 3.875 kB / 2.024 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000848/5.099, allocations: 254.3 kB / 2.024 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/5.099, allocations: 121.3 kB / 2.024 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000742/5.1, allocations: 0.8264 MB / 2.025 GB, free: 66.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/5.102, allocations: 192.8 kB / 2.025 GB, free: 66.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/5.102, allocations: 38.28 kB / 2.025 GB, free: 66.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/5.102, allocations: 6.5 kB / 2.025 GB, free: 66.81 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/5.104, allocations: 0.8055 MB / 2.026 GB, free: 66.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/5.104, allocations: 4.344 kB / 2.026 GB, free: 66.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/5.105, allocations: 256.7 kB / 2.026 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/5.105, allocations: 124.4 kB / 2.026 GB, free: 66.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000676/5.106, allocations: 0.8203 MB / 2.027 GB, free: 65.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/5.107, allocations: 166.8 kB / 2.027 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/5.107, allocations: 41.81 kB / 2.027 GB, free: 65.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001943/5.107, allocations: 138 kB / 2.027 GB, free: 65.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/5.107, allocations: 104.5 kB / 2.027 GB, free: 65.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/5.109, allocations: 0.7789 MB / 2.028 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/5.109, allocations: 3.844 kB / 2.028 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/5.109, allocations: 0 / 2.028 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/5.109, allocations: 7.656 kB / 2.028 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/5.113, allocations: 2.01 MB / 2.03 GB, free: 64.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/5.113, allocations: 2.5 kB / 2.03 GB, free: 64.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/5.113, allocations: 67.95 kB / 2.03 GB, free: 64.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006675/5.114, allocations: 271.3 kB / 2.03 GB, free: 64.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/5.114, allocations: 7.906 kB / 2.03 GB, free: 64.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000733/5.115, allocations: 0.8733 MB / 2.031 GB, free: 63.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/5.115, allocations: 3.719 kB / 2.031 GB, free: 63.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/5.117, allocations: 1.159 MB / 2.032 GB, free: 62.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/5.118, allocations: 285.4 kB / 2.033 GB, free: 62.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/5.118, allocations: 7.75 kB / 2.033 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/5.118, allocations: 108.7 kB / 2.033 GB, free: 62.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/5.119, allocations: 38.19 kB / 2.033 GB, free: 62.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/5.119, allocations: 25.58 kB / 2.033 GB, free: 62.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001002/5.12, allocations: 0.7054 MB / 2.033 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.353e-06/5.12, allocations: 0 / 2.033 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001856/5.122, allocations: 0.6251 MB / 2.034 GB, free: 62.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003937/5.125, allocations: 2.817 MB / 2.037 GB, free: 60.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001846/5.127, allocations: 0.8742 MB / 2.038 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/5.127, allocations: 0 / 2.038 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/5.128, allocations: 304.5 kB / 2.038 GB, free: 59.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/5.13, allocations: 0.4886 MB / 2.038 GB, free: 59.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/5.136, allocations: 1.847 MB / 2.04 GB, free: 58.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/5.137, allocations: 1.088 MB / 2.041 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00137/5.138, allocations: 266.7 kB / 2.042 GB, free: 56.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/5.139, allocations: 395.2 kB / 2.042 GB, free: 56.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.383e-06/5.139, allocations: 0 / 2.042 GB, free: 56.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07182/5.21, allocations: 40.31 MB / 2.081 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/5.211, allocations: 223.5 kB / 2.082 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/8.315, allocations: 0 / 2.082 GB, free: 16.89 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)