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: translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001268/0.001268, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.32/1.32, allocations: 222.9 MB / 241.1 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.7953/0.7953, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.92 kB / 0.582 GB, free: 23.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07475/0.2121, allocations: 75.13 MB / 0.7337 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.2289, allocations: 12.72 MB / 0.7461 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.2311, allocations: 71.56 kB / 0.7462 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.2334, allocations: 0.8502 MB / 0.747 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3263/0.5598, allocations: 2.579 MB / 0.7495 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.5633, allocations: 1.393 MB / 0.7509 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005404/0.5687, allocations: 4.393 MB / 0.7552 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.571, allocations: 1.438 MB / 0.7566 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.5749, allocations: 1.669 MB / 0.7582 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.5773, allocations: 1.191 MB / 0.7594 GB, free: 27.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004911/0.5778, allocations: 162.8 kB / 0.7595 GB, free: 27.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.5812, allocations: 1.407 MB / 0.7609 GB, free: 27.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.5816, allocations: 403.1 kB / 0.7613 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.5829, allocations: 0.9 MB / 0.7622 GB, free: 26.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.5881, allocations: 2.886 MB / 0.765 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5881, allocations: 0 / 0.765 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5881, allocations: 0 / 0.765 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.5881, allocations: 1.094 kB / 0.765 GB, free: 26.54 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.004277/0.5924, allocations: 2.132 MB / 0.7671 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5925, allocations: 8.844 kB / 0.7671 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.5934, allocations: 236.2 kB / 0.7673 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.5958, allocations: 1.543 MB / 0.7688 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.5959, allocations: 79.28 kB / 0.7689 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.596, allocations: 100.1 kB / 0.769 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.598, allocations: 1.104 MB / 0.7701 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.598, allocations: 1.188 kB / 0.7701 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.5981, allocations: 40.41 kB / 0.7701 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.5982, allocations: 25.64 kB / 0.7701 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.6, allocations: 0.8875 MB / 0.771 GB, free: 24.77 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.00517/0.6052, allocations: 4.909 MB / 0.7758 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6066, allocations: 0.6188 MB / 0.7764 GB, free: 22.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.6073, allocations: 354.2 kB / 0.7767 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.6078, allocations: 0.828 MB / 0.7775 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6078, allocations: 46.5 kB / 0.7776 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.254e-06/0.6078, allocations: 0 / 0.7776 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007441/0.6152, allocations: 1.682 MB / 0.7792 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.6153, allocations: 57.31 kB / 0.7793 GB, free: 21.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.6169, allocations: 1.233 MB / 0.7805 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.617, allocations: 39.23 kB / 0.7805 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.6174, allocations: 0.6075 MB / 0.7811 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.6176, allocations: 222.3 kB / 0.7813 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.6178, allocations: 158.3 kB / 0.7815 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.6179, allocations: 331.4 kB / 0.7818 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/0.6186, allocations: 291.8 kB / 0.7821 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.6194, allocations: 0.4901 MB / 0.7826 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.6207, allocations: 0.7114 MB / 0.7833 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6208, allocations: 1.188 kB / 0.7833 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004584/0.6253, allocations: 1.284 MB / 0.7845 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6254, allocations: 7.594 kB / 0.7845 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6254, allocations: 4.344 kB / 0.7845 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.626, allocations: 132.9 kB / 0.7846 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.6266, allocations: 163 kB / 0.7848 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006788/0.6273, allocations: 0.6947 MB / 0.7855 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6283, allocations: 118.2 kB / 0.7856 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.6284, allocations: 37.02 kB / 0.7856 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009956/0.6294, allocations: 0.5516 MB / 0.7862 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007428/0.6302, allocations: 491.6 kB / 0.7866 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001288/0.6315, allocations: 0.7034 MB / 0.7873 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.6315, allocations: 1.062 kB / 0.7873 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004439/0.6359, allocations: 1.271 MB / 0.7886 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.6359, allocations: 9.281 kB / 0.7886 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.636, allocations: 6.469 kB / 0.7886 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004573/0.6364, allocations: 139.4 kB / 0.7887 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.637, allocations: 160.3 kB / 0.7889 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006355/0.6376, allocations: 0.6949 MB / 0.7895 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/0.6386, allocations: 101 kB / 0.7896 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.6387, allocations: 38.38 kB / 0.7897 GB, free: 16.85 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.0001849/0.6389, allocations: 224.1 kB / 0.7899 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.6391, allocations: 137.2 kB / 0.79 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/0.6436, allocations: 1.27 MB / 0.7913 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003955/0.6475, allocations: 1.1 MB / 0.7923 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6475, allocations: 0 / 0.7923 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.6482, allocations: 307.6 kB / 0.7926 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.6485, allocations: 12.91 kB / 0.7926 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6495, allocations: 50.78 kB / 0.7927 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.6496, allocations: 45.58 kB / 0.7927 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002465/0.6521, allocations: 0.9605 MB / 0.7937 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0022/0.6543, allocations: 1.341 MB / 0.795 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006347/0.655, allocations: 326.5 kB / 0.7953 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001109/0.6561, allocations: 0.8562 MB / 0.7961 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of Backend: time 4.01e-07/0.6561, allocations: 3.938 kB / 0.7961 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.6596, allocations: 1.4 MB / 0.7975 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004523/0.6642, allocations: 3.16 MB / 0.8006 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.0467/0.7109, allocations: 33.51 MB / 0.8333 GB, free: 11.06 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (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 & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)