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.009782/0.009782, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.00212/0.00212, allocations: 196.2 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.202/2.202, 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 1.322/1.322, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003137, allocations: 62.56 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2261, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.139/0.3651, allocations: 75.14 MB / 0.7326 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03211/0.3973, allocations: 12.72 MB / 0.745 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004163/0.4016, allocations: 67.62 kB / 0.745 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.4058, allocations: 0.8384 MB / 0.7459 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.6381/1.044, allocations: 2.442 MB / 0.7482 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/1.051, allocations: 1.392 MB / 0.7496 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01076/1.062, allocations: 4.387 MB / 0.7539 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/1.067, allocations: 1.43 MB / 0.7553 GB, free: 27.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007868/1.075, allocations: 1.629 MB / 0.7569 GB, free: 27.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004879/1.08, allocations: 1.197 MB / 0.758 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001317/1.081, allocations: 163.1 kB / 0.7582 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/1.088, allocations: 1.404 MB / 0.7596 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/1.09, allocations: 396.3 kB / 0.7599 GB, free: 27.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004075/1.094, allocations: 0.9059 MB / 0.7608 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/1.106, allocations: 2.882 MB / 0.7636 GB, free: 26.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.106, allocations: 1.25 kB / 0.7636 GB, free: 26.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.326e-06/1.106, allocations: 0 / 0.7636 GB, free: 26.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001302/1.106, allocations: 4 kB / 0.7636 GB, free: 26.73 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.01143/1.117, allocations: 2.141 MB / 0.7657 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.898e-05/1.117, allocations: 9.812 kB / 0.7657 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008886/1.118, allocations: 148.2 kB / 0.7659 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/1.121, allocations: 234.7 kB / 0.7661 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/1.127, allocations: 1.529 MB / 0.7676 GB, free: 25.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/1.127, allocations: 76.47 kB / 0.7677 GB, free: 25.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/1.128, allocations: 99 kB / 0.7678 GB, free: 25.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/1.133, allocations: 1.107 MB / 0.7689 GB, free: 24.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.19e-05/1.133, allocations: 8.453 kB / 0.7689 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/1.133, allocations: 38.34 kB / 0.7689 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/1.134, allocations: 28.75 kB / 0.7689 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/1.138, allocations: 0.8796 MB / 0.7698 GB, free: 24.92 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.01153/1.149, allocations: 4.918 MB / 0.7746 GB, free: 22.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/1.151, allocations: 0.6236 MB / 0.7752 GB, free: 22.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.153, allocations: 352.8 kB / 0.7755 GB, free: 22.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007342/1.153, allocations: 0.8261 MB / 0.7763 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.154, allocations: 42.41 kB / 0.7764 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 6.161e-06/1.154, allocations: 0 / 0.7764 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.01176/1.165, allocations: 1.683 MB / 0.778 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.165, allocations: 63.38 kB / 0.7781 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/1.169, allocations: 1.23 MB / 0.7793 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002355/1.17, allocations: 40.42 kB / 0.7793 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/1.171, allocations: 0.6077 MB / 0.7799 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/1.171, allocations: 227.6 kB / 0.7801 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/1.172, allocations: 151.7 kB / 0.7803 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/1.172, allocations: 336.4 kB / 0.7806 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.173, allocations: 287.3 kB / 0.7809 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.174, allocations: 0.4891 MB / 0.7814 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/1.177, allocations: 0.7085 MB / 0.782 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.177, allocations: 7.156 kB / 0.7821 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007615/1.184, allocations: 1.278 MB / 0.7833 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/1.184, allocations: 6.375 kB / 0.7833 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.184, allocations: 3.156 kB / 0.7833 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/1.185, allocations: 140.8 kB / 0.7834 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.186, allocations: 159.2 kB / 0.7836 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.188, allocations: 0.6913 MB / 0.7843 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.19, allocations: 125.3 kB / 0.7844 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.19, allocations: 33 kB / 0.7844 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002038/1.192, allocations: 0.5522 MB / 0.785 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/1.193, allocations: 494.8 kB / 0.7854 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002451/1.196, allocations: 0.6996 MB / 0.7861 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.856e-06/1.196, allocations: 5.406 kB / 0.7861 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.007694/1.204, allocations: 1.27 MB / 0.7874 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.204, allocations: 4.531 kB / 0.7874 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.204, allocations: 4.844 kB / 0.7874 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/1.205, allocations: 140.6 kB / 0.7875 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/1.206, allocations: 158.6 kB / 0.7877 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/1.207, allocations: 0.6951 MB / 0.7883 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.209, allocations: 104.2 kB / 0.7884 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.209, allocations: 30.05 kB / 0.7885 GB, free: 17.23 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.0004055/1.21, allocations: 236.4 kB / 0.7887 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008011/1.21, allocations: 144.7 kB / 0.7888 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007421/1.218, allocations: 1.263 MB / 0.7901 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/1.218, allocations: 6 kB / 0.7901 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.218, allocations: 4 kB / 0.7901 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006369/1.224, allocations: 1.101 MB / 0.7911 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.236, allocations: 2.617 MB / 0.7937 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.236, allocations: 6.719 kB / 0.7937 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/1.237, allocations: 114.1 kB / 0.7938 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007728/1.238, allocations: 129.4 kB / 0.7939 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.238, allocations: 25.14 kB / 0.794 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007091/1.245, allocations: 2.579 MB / 0.7965 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-05/1.245, allocations: 10 kB / 0.7965 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008232/1.253, allocations: 1.702 MB / 0.7982 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.254, allocations: 316.4 kB / 0.7985 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/1.255, allocations: 21.31 kB / 0.7985 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.257, allocations: 60.03 kB / 0.7985 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.257, allocations: 59.27 kB / 0.7986 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.257, allocations: 30.2 kB / 0.7986 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002369/1.26, allocations: 0.8839 MB / 0.7995 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.26, allocations: 4 kB / 0.7995 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004158/1.264, allocations: 0.7262 MB / 0.8002 GB, free: 9.801 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.009913/1.274, allocations: 2.583 MB / 0.8027 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004166/1.278, allocations: 1.124 MB / 0.8038 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.278, allocations: 0 / 0.8038 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002228/1.28, allocations: 0.5588 MB / 0.8044 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/1.287, allocations: 0.8089 MB / 0.8051 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/1.322, allocations: 9.834 MB / 0.8147 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.324, allocations: 1.172 MB / 0.8159 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002303/1.326, allocations: 307 kB / 0.8162 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.327, allocations: 0.5032 MB / 0.8167 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/1.327, allocations: 2.906 kB / 0.8167 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/1.482, allocations: 42.39 MB / 0.8581 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.03/26.51, allocations: 15 kB / 0.8581 GB, free: 0.5586 MB / 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)