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.005135/0.005135, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001103/0.001103, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 74.23 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1559, allocations: 80.22 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07176/0.2277, allocations: 75.12 MB / 0.7325 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.2445, allocations: 12.73 MB / 0.745 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.2469, allocations: 63.62 kB / 0.745 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2492, allocations: 0.8345 MB / 0.7458 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006679/0.256, allocations: 2.461 MB / 0.7483 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.2595, allocations: 1.382 MB / 0.7496 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.2651, allocations: 4.385 MB / 0.7539 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.2674, allocations: 1.441 MB / 0.7553 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.271, allocations: 1.65 MB / 0.7569 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.2731, allocations: 1.198 MB / 0.7581 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.2736, allocations: 168 kB / 0.7582 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.2766, allocations: 1.404 MB / 0.7596 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.2771, allocations: 402.6 kB / 0.76 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.2781, allocations: 0.8943 MB / 0.7609 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.2816, allocations: 2.883 MB / 0.7637 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2816, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2816, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.2816, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.5919 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.003359/0.285, allocations: 2.087 MB / 0.7657 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.285, allocations: 8.031 kB / 0.7657 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.2852, allocations: 144.1 kB / 0.7659 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.2859, allocations: 238.5 kB / 0.7661 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.2882, allocations: 1.512 MB / 0.7676 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.2883, allocations: 74 kB / 0.7676 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2884, allocations: 104 kB / 0.7677 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.2902, allocations: 1.104 MB / 0.7688 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2903, allocations: 4 kB / 0.7688 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.2903, allocations: 36 kB / 0.7688 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.2904, allocations: 27.94 kB / 0.7689 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2921, allocations: 0.8899 MB / 0.7697 GB, free: 12.3 MB / 0.6075 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.005146/0.2973, allocations: 4.896 MB / 0.7745 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2986, allocations: 0.6273 MB / 0.7751 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.2992, allocations: 345.1 kB / 0.7755 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.2998, allocations: 0.8316 MB / 0.7763 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2999, allocations: 47.11 kB / 0.7763 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.254e-06/0.2999, allocations: 0 / 0.7763 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.00685/0.3067, allocations: 1.681 MB / 0.778 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3068, allocations: 55.97 kB / 0.778 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.3082, allocations: 1.229 MB / 0.7792 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.3083, allocations: 37.7 kB / 0.7793 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.3088, allocations: 0.6026 MB / 0.7798 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3089, allocations: 220.9 kB / 0.7801 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3092, allocations: 154.5 kB / 0.7802 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3093, allocations: 337.9 kB / 0.7805 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.3099, allocations: 284.7 kB / 0.7808 GB, free: 428 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/0.3107, allocations: 0.4888 MB / 0.7813 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.312, allocations: 0.709 MB / 0.782 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.312, allocations: 4 kB / 0.782 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004492/0.3165, allocations: 1.269 MB / 0.7832 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3166, allocations: 8 kB / 0.7832 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3166, allocations: 4 kB / 0.7832 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.3172, allocations: 140.8 kB / 0.7834 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.3177, allocations: 159.8 kB / 0.7835 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008189/0.3186, allocations: 0.6966 MB / 0.7842 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.3196, allocations: 115.2 kB / 0.7843 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.3197, allocations: 31.98 kB / 0.7843 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0011/0.3208, allocations: 0.5488 MB / 0.7849 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007732/0.3216, allocations: 495.8 kB / 0.7853 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.3229, allocations: 0.7128 MB / 0.786 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.323, allocations: 4 kB / 0.786 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004464/0.3274, allocations: 1.254 MB / 0.7873 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3275, allocations: 12.03 kB / 0.7873 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3275, allocations: 3.984 kB / 0.7873 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/0.328, allocations: 136.7 kB / 0.7874 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.3286, allocations: 159.7 kB / 0.7876 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007876/0.3293, allocations: 0.6928 MB / 0.7882 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.3303, allocations: 103.5 kB / 0.7883 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.3304, allocations: 35.97 kB / 0.7884 GB, free: 8.328 MB / 0.6231 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.0002571/0.3307, allocations: 230.9 kB / 0.7886 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.331, allocations: 134.3 kB / 0.7887 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.3355, allocations: 1.26 MB / 0.7899 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3356, allocations: 12 kB / 0.79 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3356, allocations: 0 / 0.79 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004018/0.3396, allocations: 1.103 MB / 0.791 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/0.3462, allocations: 2.618 MB / 0.7936 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3463, allocations: 3.938 kB / 0.7936 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.3467, allocations: 115.8 kB / 0.7937 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.3472, allocations: 129.2 kB / 0.7938 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.3473, allocations: 19.98 kB / 0.7938 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004898/0.3522, allocations: 2.59 MB / 0.7964 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3522, allocations: 4 kB / 0.7964 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.3575, allocations: 1.703 MB / 0.798 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.3582, allocations: 311.2 kB / 0.7983 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.3585, allocations: 15.94 kB / 0.7984 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.3594, allocations: 51.94 kB / 0.7984 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3595, allocations: 60.64 kB / 0.7985 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.3596, allocations: 35.92 kB / 0.7985 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001414/0.361, allocations: 0.8816 MB / 0.7994 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.361, allocations: 3.938 kB / 0.7994 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002114/0.3631, allocations: 0.7174 MB / 0.8001 GB, free: 11.93 MB / 0.6387 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.006205/0.3693, allocations: 2.581 MB / 0.8026 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002569/0.3719, allocations: 1.114 MB / 0.8037 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.372, allocations: 0 / 0.8037 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.3734, allocations: 0.568 MB / 0.8042 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/0.3773, allocations: 0.7959 MB / 0.805 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3291/0.7064, allocations: 9.779 MB / 0.8146 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.7071, allocations: 1.172 MB / 0.8157 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001205/0.7084, allocations: 302.7 kB / 0.816 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/0.7091, allocations: 0.5093 MB / 0.8165 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.7091, allocations: 0 / 0.8165 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.7819, allocations: 43.19 MB / 0.8587 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.83, allocations: 13.11 kB / 0.8587 GB, free: 115.1 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)