Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",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.001034/0.001034, 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.5081/0.5081, allocations: 90.91 MB / 99.34 MB, free: 2.156 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.382/1.382, allocations: 221.5 MB / 343.2 MB, free: 1.566 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.0009736/0.0009736, allocations: 114.4 kB / 416 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.615e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.968/1.105, allocations: 386.1 MB / 0.9307 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.106, allocations: 90.02 kB / 0.9308 GB, free: 94.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.033/3.138, allocations: 0.6464 GB / 1.577 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.103e-06/3.138, allocations: 0 / 1.577 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.894e-05/3.138, allocations: 34.17 kB / 1.577 GB, free: 93.44 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002492/3.141, allocations: 1.486 MB / 1.579 GB, free: 92.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/3.141, allocations: 7.875 kB / 1.579 GB, free: 92.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/3.143, allocations: 441.3 kB / 1.579 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/3.145, allocations: 1.299 MB / 1.58 GB, free: 92.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/3.145, allocations: 102.7 kB / 1.58 GB, free: 92.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/3.146, allocations: 48.22 kB / 1.58 GB, free: 92.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009683/3.146, allocations: 0.6264 MB / 1.581 GB, free: 92.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/3.148, allocations: 0.765 MB / 1.582 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/3.148, allocations: 2.688 kB / 1.582 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/3.148, allocations: 3.938 kB / 1.582 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/3.148, allocations: 29.28 kB / 1.582 GB, free: 92.09 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.004708/3.152, allocations: 4.542 MB / 1.586 GB, free: 89.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/3.155, allocations: 0.6592 MB / 1.587 GB, free: 89.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/3.155, allocations: 199 kB / 1.587 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/3.156, allocations: 0.9104 MB / 1.588 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/3.156, allocations: 40.83 kB / 1.588 GB, free: 88.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/3.156, allocations: 0 / 1.588 GB, free: 88.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002651/3.158, allocations: 0.755 MB / 1.589 GB, free: 88.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/3.158, allocations: 55.34 kB / 1.589 GB, free: 88.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/3.159, allocations: 0.7412 MB / 1.59 GB, free: 88.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/3.159, allocations: 29.64 kB / 1.59 GB, free: 88.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/3.16, allocations: 0.5368 MB / 1.59 GB, free: 87.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/3.16, allocations: 147.3 kB / 1.59 GB, free: 87.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/3.16, allocations: 0 / 1.59 GB, free: 87.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/3.16, allocations: 325.6 kB / 1.591 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/3.16, allocations: 170.2 kB / 1.591 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/3.16, allocations: 412.8 kB / 1.591 GB, free: 87.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/3.161, allocations: 264.9 kB / 1.591 GB, free: 87.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/3.161, allocations: 0 / 1.591 GB, free: 87.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002657/3.164, allocations: 0.921 MB / 1.592 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002992/3.164, allocations: 1.659 MB / 1.594 GB, free: 85.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/3.164, allocations: 5.688 kB / 1.594 GB, free: 85.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/3.165, allocations: 238.4 kB / 1.594 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/3.165, allocations: 120.8 kB / 1.594 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008026/3.166, allocations: 0.869 MB / 1.595 GB, free: 84.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/3.167, allocations: 166.2 kB / 1.595 GB, free: 84.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/3.167, allocations: 36.27 kB / 1.595 GB, free: 84.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/3.167, allocations: 1.094 kB / 1.595 GB, free: 84.89 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00248/3.17, allocations: 0.7858 MB / 1.596 GB, free: 84.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/3.17, allocations: 7.172 kB / 1.596 GB, free: 84.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/3.17, allocations: 224.9 kB / 1.596 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/3.171, allocations: 121.7 kB / 1.596 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/3.172, allocations: 0.8554 MB / 1.597 GB, free: 84.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/3.173, allocations: 137.8 kB / 1.597 GB, free: 84.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/3.173, allocations: 42.17 kB / 1.597 GB, free: 84.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0001494/3.173, allocations: 117.7 kB / 1.598 GB, free: 84.21 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002344/3.175, allocations: 0.7435 MB / 1.598 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/3.175, allocations: 100.6 kB / 1.598 GB, free: 84.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/3.178, allocations: 0.8984 MB / 1.599 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/3.178, allocations: 7.047 kB / 1.599 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/3.178, allocations: 0 / 1.599 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/3.178, allocations: 3.703 kB / 1.599 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/3.182, allocations: 1.888 MB / 1.601 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/3.182, allocations: 3.688 kB / 1.601 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/3.182, allocations: 68.67 kB / 1.601 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005374/3.183, allocations: 239.7 kB / 1.601 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/3.183, allocations: 9.984 kB / 1.601 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007681/3.184, allocations: 0.8967 MB / 1.602 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/3.184, allocations: 3.844 kB / 1.602 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/3.186, allocations: 1.101 MB / 1.603 GB, free: 82.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/3.186, allocations: 274.9 kB / 1.604 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/3.187, allocations: 2.906 kB / 1.604 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/3.187, allocations: 104.9 kB / 1.604 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/3.187, allocations: 37.58 kB / 1.604 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/3.188, allocations: 20.98 kB / 1.604 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006393/3.188, allocations: 0.5705 MB / 1.604 GB, free: 82.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/3.188, allocations: 3.391 kB / 1.604 GB, free: 82.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001673/3.19, allocations: 0.6052 MB / 1.605 GB, free: 82.3 MB / 0.6042 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 (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004244/3.194, allocations: 2.771 MB / 1.608 GB, free: 80.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00198/3.196, allocations: 0.7974 MB / 1.608 GB, free: 80.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/3.196, allocations: 0 / 1.608 GB, free: 80.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/3.197, allocations: 262.5 kB / 1.609 GB, free: 80.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/3.199, allocations: 386.7 kB / 1.609 GB, free: 80.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/3.204, allocations: 1.754 MB / 1.611 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/3.205, allocations: 1.086 MB / 1.612 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001078/3.206, allocations: 242.7 kB / 1.612 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/3.206, allocations: 391.2 kB / 1.612 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/3.206, allocations: 0 / 1.612 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/3.258, allocations: 32.15 MB / 1.644 GB, free: 68.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/3.258, allocations: 156.8 kB / 1.644 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/6.128, allocations: 0 / 1.644 GB, free: 68.66 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)