Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00525/0.00525, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001159/0.001159, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.958/0.958, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4891, allocations: 80.91 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1361/0.6253, allocations: 132.2 MB / 0.7937 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03506/0.6604, allocations: 23.19 MB / 0.8164 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005209/0.6656, allocations: 123.2 kB / 0.8165 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005088/0.6707, allocations: 1.494 MB / 0.818 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.6842, allocations: 4.088 MB / 0.822 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007077/0.6913, allocations: 2.177 MB / 0.8241 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.703, allocations: 6.531 MB / 0.8305 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004547/0.7076, allocations: 2.368 MB / 0.8328 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/0.7147, allocations: 2.762 MB / 0.8355 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.7183, allocations: 1.892 MB / 0.8373 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006146/0.7189, allocations: 248 kB / 0.8376 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/0.7238, allocations: 1.942 MB / 0.8395 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.7245, allocations: 0.5915 MB / 0.84 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.7265, allocations: 1.454 MB / 0.8415 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007794/0.7343, allocations: 4.418 MB / 0.8458 GB, free: 7.559 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7344, allocations: 0 / 0.8458 GB, free: 7.559 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7344, allocations: 0 / 0.8458 GB, free: 7.559 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.441e-05/0.7345, allocations: 0 / 0.8458 GB, free: 7.559 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006558/0.741, allocations: 3.27 MB / 0.849 GB, free: 4.199 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7411, allocations: 12.03 kB / 0.849 GB, free: 4.188 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/0.7455, allocations: 0.8567 MB / 0.8498 GB, free: 3.328 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004796/0.7504, allocations: 2.344 MB / 0.8521 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.7505, allocations: 127 kB / 0.8522 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.7508, allocations: 160 kB / 0.8524 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.7555, allocations: 1.926 MB / 0.8543 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.7556, allocations: 3.938 kB / 0.8543 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.7558, allocations: 67.94 kB / 0.8543 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.7558, allocations: 40 kB / 0.8544 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005092/0.7609, allocations: 1.799 MB / 0.8561 GB, free: 12.73 MB / 0.6856 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.01541/0.7763, allocations: 9.007 MB / 0.8649 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/0.7808, allocations: 1.207 MB / 0.8661 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.782, allocations: 458.2 kB / 0.8665 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3926/1.175, allocations: 1.722 MB / 0.8682 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.175, allocations: 42.44 kB / 0.8682 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.496e-06/1.175, allocations: 0 / 0.8682 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009311/1.184, allocations: 2.355 MB / 0.8705 GB, free: 186 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.184, allocations: 85.33 kB / 0.8706 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/1.189, allocations: 2.523 MB / 0.8731 GB, free: 185 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.189, allocations: 49.05 kB / 0.8731 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/1.19, allocations: 1.05 MB / 0.8742 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.19, allocations: 291.4 kB / 0.8744 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/1.191, allocations: 256.7 kB / 0.8747 GB, free: 184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/1.191, allocations: 345.7 kB / 0.875 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.193, allocations: 0.5735 MB / 0.8756 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/1.195, allocations: 0.9544 MB / 0.8765 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/1.198, allocations: 1.244 MB / 0.8777 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.198, allocations: 2.219 kB / 0.8777 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007267/1.205, allocations: 2.029 MB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.205, allocations: 12.94 kB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.205, allocations: 8.062 kB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/1.207, allocations: 0.4884 MB / 0.8802 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.208, allocations: 279.1 kB / 0.8805 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/1.21, allocations: 1.515 MB / 0.882 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/1.214, allocations: 372.3 kB / 0.8823 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/1.214, allocations: 65.03 kB / 0.8824 GB, free: 180.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.215, allocations: 467.3 kB / 0.8828 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/1.216, allocations: 261.6 kB / 0.8831 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1.22, allocations: 1.492 MB / 0.8845 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.22, allocations: 20.73 kB / 0.8845 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.22, allocations: 1.25 kB / 0.8845 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.22, allocations: 7.922 kB / 0.8845 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008302/1.228, allocations: 3.611 MB / 0.8881 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.228, allocations: 7.312 kB / 0.8881 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.229, allocations: 124.5 kB / 0.8882 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/1.231, allocations: 495.9 kB / 0.8887 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/1.231, allocations: 30.02 kB / 0.8887 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/1.233, allocations: 1.59 MB / 0.8903 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.233, allocations: 4.375 kB / 0.8903 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/1.239, allocations: 1.946 MB / 0.8922 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.24, allocations: 0.4906 MB / 0.8926 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006239/1.241, allocations: 20.38 kB / 0.8927 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.243, allocations: 138.8 kB / 0.8928 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/1.243, allocations: 53.42 kB / 0.8928 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.243, allocations: 41.81 kB / 0.8929 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003514/1.247, allocations: 1.774 MB / 0.8946 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.1e-07/1.247, allocations: 0 / 0.8946 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002274/1.249, allocations: 0.6966 MB / 0.8953 GB, free: 172.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/1.25, allocations: 0.6301 MB / 0.8959 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003928/1.254, allocations: 1.351 MB / 0.8972 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.254, allocations: 0 / 0.8972 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.256, allocations: 0.6805 MB / 0.8979 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/1.263, allocations: 1.326 MB / 0.8992 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/1.269, allocations: 3.614 MB / 0.9027 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.27, allocations: 1.491 MB / 0.9042 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001921/1.272, allocations: 442.8 kB / 0.9046 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/1.273, allocations: 165.7 kB / 0.9048 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/1.273, allocations: 0 / 0.9048 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.06336/1.336, allocations: 48.8 MB / 0.9524 GB, free: 122.5 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)