Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006624/0.006624, allocations: 103.6 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 196.6 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.03 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.08252/0.2324, allocations: 75.17 MB / 0.7326 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03399/0.2664, allocations: 15.13 MB / 0.7474 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.27, allocations: 67.62 kB / 0.7474 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3787/0.6487, allocations: 0.8526 MB / 0.7483 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007224/0.656, allocations: 2.719 MB / 0.7509 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.6594, allocations: 1.396 MB / 0.7523 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007137/0.6665, allocations: 4.4 MB / 0.7566 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.6693, allocations: 1.452 MB / 0.758 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.6744, allocations: 1.682 MB / 0.7596 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.678, allocations: 1.214 MB / 0.7608 GB, free: 25.28 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.6784, allocations: 163.7 kB / 0.761 GB, free: 25.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.6825, allocations: 1.408 MB / 0.7624 GB, free: 25.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.6831, allocations: 402.1 kB / 0.7627 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.6847, allocations: 0.9055 MB / 0.7636 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.6902, allocations: 2.878 MB / 0.7664 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.6902, allocations: 0 / 0.7664 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6902, allocations: 0 / 0.7664 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-05/0.6903, allocations: 0 / 0.7664 GB, free: 24.61 MB / 0.5762 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.004592/0.6949, allocations: 2.093 MB / 0.7685 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.695, allocations: 9.5 kB / 0.7685 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.6951, allocations: 153.1 kB / 0.7686 GB, free: 23.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/0.696, allocations: 229.9 kB / 0.7689 GB, free: 23.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.6986, allocations: 1.53 MB / 0.7704 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.6987, allocations: 78.56 kB / 0.7704 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6988, allocations: 103.4 kB / 0.7705 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.7007, allocations: 1.099 MB / 0.7716 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.7008, allocations: 5.375 kB / 0.7716 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.7009, allocations: 40.22 kB / 0.7716 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.7009, allocations: 24.16 kB / 0.7717 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.7027, allocations: 0.894 MB / 0.7725 GB, free: 22.84 MB / 0.5762 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.006201/0.7089, allocations: 4.905 MB / 0.7773 GB, free: 20.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7103, allocations: 0.6188 MB / 0.7779 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.711, allocations: 349.6 kB / 0.7783 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.7114, allocations: 0.8313 MB / 0.7791 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7115, allocations: 41.59 kB / 0.7791 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.756e-06/0.7115, allocations: 0 / 0.7791 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006511/0.718, allocations: 1.686 MB / 0.7808 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.718, allocations: 58.28 kB / 0.7808 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.7197, allocations: 1.233 MB / 0.782 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.7198, allocations: 43.73 kB / 0.7821 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.7203, allocations: 0.6057 MB / 0.7827 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.7205, allocations: 215.8 kB / 0.7829 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.7207, allocations: 157.1 kB / 0.783 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.7208, allocations: 334.1 kB / 0.7833 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.7214, allocations: 291.4 kB / 0.7836 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/0.7222, allocations: 498.7 kB / 0.7841 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.7234, allocations: 0.7107 MB / 0.7848 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7234, allocations: 5.188 kB / 0.7848 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004059/0.7275, allocations: 1.27 MB / 0.786 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7275, allocations: 12.56 kB / 0.786 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7275, allocations: 2.656 kB / 0.786 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.7281, allocations: 131.9 kB / 0.7862 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.7287, allocations: 166.8 kB / 0.7863 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006899/0.7294, allocations: 0.7077 MB / 0.787 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.7305, allocations: 124 kB / 0.7871 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.7306, allocations: 36.78 kB / 0.7872 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009384/0.7316, allocations: 0.5531 MB / 0.7877 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000645/0.7322, allocations: 497.4 kB / 0.7882 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/0.7333, allocations: 0.7051 MB / 0.7889 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.7334, allocations: 0 / 0.7889 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003842/0.7372, allocations: 1.27 MB / 0.7901 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7372, allocations: 5.562 kB / 0.7901 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7372, allocations: 2.562 kB / 0.7901 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.7377, allocations: 137.8 kB / 0.7903 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.7382, allocations: 165.8 kB / 0.7904 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006177/0.7389, allocations: 0.6991 MB / 0.7911 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.74, allocations: 99.02 kB / 0.7912 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.74, allocations: 36.23 kB / 0.7912 GB, free: 13.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.7402, allocations: 223.7 kB / 0.7914 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.7405, allocations: 135.7 kB / 0.7916 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.7443, allocations: 1.272 MB / 0.7928 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.7444, allocations: 6 kB / 0.7928 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7444, allocations: 0.9688 kB / 0.7928 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003317/0.7477, allocations: 1.109 MB / 0.7939 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.7535, allocations: 2.609 MB / 0.7964 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7535, allocations: 9.062 kB / 0.7965 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.754, allocations: 114.6 kB / 0.7966 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.7544, allocations: 136.2 kB / 0.7967 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.7544, allocations: 18.98 kB / 0.7967 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.7585, allocations: 2.638 MB / 0.7993 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7585, allocations: 9.344 kB / 0.7993 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/0.7631, allocations: 1.693 MB / 0.8009 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/0.7639, allocations: 307.4 kB / 0.8012 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/0.7644, allocations: 18.97 kB / 0.8013 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7656, allocations: 56.42 kB / 0.8013 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.7657, allocations: 62.58 kB / 0.8014 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.7658, allocations: 31.52 kB / 0.8014 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001445/0.7673, allocations: 0.884 MB / 0.8023 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.322e-06/0.7673, allocations: 0 / 0.8023 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002875/0.7702, allocations: 0.7313 MB / 0.803 GB, free: 6.031 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005783/0.776, allocations: 2.587 MB / 0.8055 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.7783, allocations: 1.114 MB / 0.8066 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.7783, allocations: 0 / 0.8066 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.7796, allocations: 0.5663 MB / 0.8071 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.7835, allocations: 0.7993 MB / 0.8079 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.8058, allocations: 9.836 MB / 0.8175 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.8068, allocations: 1.175 MB / 0.8187 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001259/0.8081, allocations: 308.7 kB / 0.819 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/0.8089, allocations: 0.511 MB / 0.8195 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.8089, allocations: 3.938 kB / 0.8195 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/0.8887, allocations: 42.56 MB / 0.861 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.28, allocations: 9.875 kB / 0.861 GB, free: 11.68 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)