Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.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.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_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.004969/0.00497, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001478/0.001478, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7473/0.7473, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.2 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1417, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06495/0.2067, allocations: 75.13 MB / 0.7325 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.2234, allocations: 12.72 MB / 0.745 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.2256, allocations: 63.62 kB / 0.745 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.2278, allocations: 0.8618 MB / 0.7459 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3333/0.5611, allocations: 2.575 MB / 0.7484 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.5647, allocations: 1.398 MB / 0.7498 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005891/0.5706, allocations: 4.388 MB / 0.754 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.5728, allocations: 1.438 MB / 0.7554 GB, free: 27.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.5768, allocations: 1.656 MB / 0.7571 GB, free: 27.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.5791, allocations: 1.2 MB / 0.7582 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.5795, allocations: 162.6 kB / 0.7584 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.5826, allocations: 1.413 MB / 0.7598 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.5831, allocations: 399.4 kB / 0.7601 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.5841, allocations: 0.9037 MB / 0.761 GB, free: 26.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004039/0.5882, allocations: 2.881 MB / 0.7638 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5882, allocations: 1.781 kB / 0.7638 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5882, allocations: 1.312 kB / 0.7638 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.5882, allocations: 0 / 0.7638 GB, free: 26.53 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.00374/0.592, allocations: 2.139 MB / 0.7659 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.592, allocations: 10.95 kB / 0.7659 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.5922, allocations: 148.4 kB / 0.7661 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.593, allocations: 236.6 kB / 0.7663 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.5953, allocations: 1.53 MB / 0.7678 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.5953, allocations: 84.75 kB / 0.7679 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5955, allocations: 99.16 kB / 0.768 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.5974, allocations: 1.102 MB / 0.7691 GB, free: 24.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5974, allocations: 4.25 kB / 0.7691 GB, free: 24.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.5975, allocations: 39.31 kB / 0.7691 GB, free: 24.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.5975, allocations: 27.41 kB / 0.7691 GB, free: 24.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5993, allocations: 0.8843 MB / 0.77 GB, free: 24.72 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.004856/0.6042, allocations: 4.918 MB / 0.7748 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.6055, allocations: 0.6258 MB / 0.7754 GB, free: 22.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.6061, allocations: 352.7 kB / 0.7757 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.6066, allocations: 0.8273 MB / 0.7765 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6066, allocations: 40.69 kB / 0.7766 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/0.6066, allocations: 0.9062 kB / 0.7766 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006709/0.6133, allocations: 1.688 MB / 0.7782 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.6134, allocations: 57.47 kB / 0.7783 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.6148, allocations: 1.227 MB / 0.7795 GB, free: 20.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.6149, allocations: 40.05 kB / 0.7795 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.6153, allocations: 0.6104 MB / 0.7801 GB, free: 20.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.6154, allocations: 228.5 kB / 0.7803 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6157, allocations: 153.7 kB / 0.7805 GB, free: 20.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.6157, allocations: 333 kB / 0.7808 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/0.6163, allocations: 294.7 kB / 0.7811 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.6171, allocations: 489.7 kB / 0.7816 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6183, allocations: 0.7148 MB / 0.7822 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6183, allocations: 3.031 kB / 0.7823 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004298/0.6227, allocations: 1.282 MB / 0.7835 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6227, allocations: 4.906 kB / 0.7835 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6227, allocations: 6.219 kB / 0.7835 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.6232, allocations: 139.4 kB / 0.7836 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.6238, allocations: 156.2 kB / 0.7838 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/0.6245, allocations: 0.6896 MB / 0.7845 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6255, allocations: 122.2 kB / 0.7846 GB, free: 18.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.6256, allocations: 39.05 kB / 0.7846 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009314/0.6265, allocations: 0.5482 MB / 0.7852 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006981/0.6272, allocations: 494.9 kB / 0.7856 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/0.6285, allocations: 0.7056 MB / 0.7863 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.6285, allocations: 0.8594 kB / 0.7863 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004457/0.6329, allocations: 1.267 MB / 0.7876 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.633, allocations: 16.09 kB / 0.7876 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.633, allocations: 2.5 kB / 0.7876 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.6334, allocations: 136.6 kB / 0.7877 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.634, allocations: 157.1 kB / 0.7879 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005912/0.6346, allocations: 0.6951 MB / 0.7885 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6357, allocations: 111.8 kB / 0.7886 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.6358, allocations: 28.02 kB / 0.7887 GB, free: 16.99 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.636, allocations: 235.6 kB / 0.7889 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.6363, allocations: 141.4 kB / 0.789 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.6405, allocations: 1.263 MB / 0.7903 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6406, allocations: 8.281 kB / 0.7903 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6406, allocations: 0 / 0.7903 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003906/0.6445, allocations: 1.097 MB / 0.7913 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/0.6524, allocations: 2.619 MB / 0.7939 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6524, allocations: 2.969 kB / 0.7939 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.653, allocations: 111.3 kB / 0.794 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005871/0.6536, allocations: 138 kB / 0.7941 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.6537, allocations: 25.52 kB / 0.7942 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/0.6595, allocations: 2.574 MB / 0.7967 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6595, allocations: 5.969 kB / 0.7967 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.6653, allocations: 1.717 MB / 0.7984 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.6663, allocations: 315.2 kB / 0.7987 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.6666, allocations: 19.8 kB / 0.7987 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.6678, allocations: 52.44 kB / 0.7987 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.668, allocations: 63.52 kB / 0.7988 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.6681, allocations: 30.7 kB / 0.7988 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001548/0.6697, allocations: 0.8811 MB / 0.7997 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6697, allocations: 1.656 kB / 0.7997 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002521/0.6722, allocations: 0.7203 MB / 0.8004 GB, free: 9.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008062/0.6803, allocations: 2.599 MB / 0.8029 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003311/0.6836, allocations: 1.12 MB / 0.804 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.6836, allocations: 0 / 0.804 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.6854, allocations: 0.5634 MB / 0.8046 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.689, allocations: 0.7945 MB / 0.8053 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.7062, allocations: 9.839 MB / 0.8149 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.707, allocations: 1.172 MB / 0.8161 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001116/0.7081, allocations: 306.4 kB / 0.8164 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.7088, allocations: 0.5071 MB / 0.8169 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.7088, allocations: 0 / 0.8169 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/0.7829, allocations: 42.39 MB / 0.8583 GB, free: 276 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.66, allocations: 11.75 kB / 0.8583 GB, free: 264 kB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)