Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001024/0.001024, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001096/0.001096, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7727/0.7727, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.94 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 80.93 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07368/0.2226, allocations: 75.13 MB / 0.7387 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.407/0.6296, allocations: 12.71 MB / 0.7511 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.6322, allocations: 65.38 kB / 0.7511 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.6344, allocations: 0.8594 MB / 0.752 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.6412, allocations: 2.592 MB / 0.7545 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.6446, allocations: 1.383 MB / 0.7559 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006952/0.6515, allocations: 4.397 MB / 0.7602 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.6541, allocations: 1.442 MB / 0.7616 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.6588, allocations: 1.665 MB / 0.7632 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.6614, allocations: 1.198 MB / 0.7644 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004313/0.6619, allocations: 165.5 kB / 0.7645 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.6656, allocations: 1.405 MB / 0.7659 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.666, allocations: 400.3 kB / 0.7663 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.6673, allocations: 0.9012 MB / 0.7671 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.6717, allocations: 2.878 MB / 0.77 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6717, allocations: 1.156 kB / 0.77 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6718, allocations: 0 / 0.77 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.548e-05/0.6718, allocations: 0 / 0.77 GB, free: 24.82 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.003721/0.6755, allocations: 2.08 MB / 0.772 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6756, allocations: 9.547 kB / 0.772 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.6764, allocations: 227.5 kB / 0.7722 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.6787, allocations: 1.528 MB / 0.7737 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.6788, allocations: 76.84 kB / 0.7738 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.679, allocations: 99.22 kB / 0.7739 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.6809, allocations: 1.096 MB / 0.7749 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6809, allocations: 4.219 kB / 0.775 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-05/0.681, allocations: 40.56 kB / 0.775 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.681, allocations: 30.52 kB / 0.775 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.6828, allocations: 0.8842 MB / 0.7759 GB, free: 23.1 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.005368/0.6882, allocations: 4.909 MB / 0.7807 GB, free: 20.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.6895, allocations: 0.6121 MB / 0.7813 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.6901, allocations: 359.9 kB / 0.7816 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004924/0.6906, allocations: 0.826 MB / 0.7824 GB, free: 19.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6907, allocations: 44.89 kB / 0.7825 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.935e-06/0.6907, allocations: 1.031 kB / 0.7825 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006914/0.6976, allocations: 1.672 MB / 0.7841 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.6976, allocations: 60.5 kB / 0.7842 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.6993, allocations: 1.225 MB / 0.7854 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/0.6994, allocations: 43.7 kB / 0.7854 GB, free: 18.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.6998, allocations: 0.602 MB / 0.786 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.6999, allocations: 211.3 kB / 0.7862 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.7001, allocations: 155.8 kB / 0.7863 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.7002, allocations: 333.4 kB / 0.7867 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.7008, allocations: 292.1 kB / 0.7869 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.7015, allocations: 493.5 kB / 0.7874 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.7028, allocations: 0.7123 MB / 0.7881 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7028, allocations: 0 / 0.7881 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004337/0.7071, allocations: 1.278 MB / 0.7893 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7072, allocations: 6.562 kB / 0.7893 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7072, allocations: 3 kB / 0.7894 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.7077, allocations: 137.9 kB / 0.7895 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.7083, allocations: 161.8 kB / 0.7896 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.7089, allocations: 0.6878 MB / 0.7903 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7101, allocations: 116.9 kB / 0.7904 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.7102, allocations: 30.64 kB / 0.7905 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009919/0.7112, allocations: 0.5642 MB / 0.791 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006538/0.7118, allocations: 491.2 kB / 0.7915 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.713, allocations: 0.7063 MB / 0.7922 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.713, allocations: 0 / 0.7922 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004166/0.7172, allocations: 1.27 MB / 0.7934 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.7172, allocations: 7.969 kB / 0.7934 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.7172, allocations: 6.844 kB / 0.7934 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.7176, allocations: 134 kB / 0.7935 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.7182, allocations: 163.4 kB / 0.7937 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000624/0.7188, allocations: 0.6992 MB / 0.7944 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.72, allocations: 100.1 kB / 0.7945 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.7201, allocations: 35.02 kB / 0.7945 GB, free: 12.34 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.0002315/0.7203, allocations: 224.8 kB / 0.7947 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.7206, allocations: 133.4 kB / 0.7949 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.7249, allocations: 1.267 MB / 0.7961 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003641/0.7285, allocations: 1.108 MB / 0.7972 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7286, allocations: 0 / 0.7972 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.7292, allocations: 301.9 kB / 0.7975 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.7296, allocations: 10.47 kB / 0.7975 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.7305, allocations: 50.25 kB / 0.7975 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.7306, allocations: 54.05 kB / 0.7976 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002347/0.733, allocations: 0.9568 MB / 0.7985 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002104/0.7351, allocations: 1.337 MB / 0.7998 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005756/0.7357, allocations: 320.9 kB / 0.8001 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001186/0.7369, allocations: 0.8582 MB / 0.801 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of Backend: time 4.41e-07/0.7369, allocations: 0 / 0.801 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003919/0.7408, allocations: 1.37 MB / 0.8023 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004991/0.7458, allocations: 3.122 MB / 0.8053 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Templates: time 0.04998/0.7958, allocations: 33.52 MB / 0.8381 GB, free: 5.172 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)