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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.006759/0.006759, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001219/0.001219, allocations: 195.1 kB / 16.68 MB, free: 5.922 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.488/1.488, 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-master/package.mo): time 0.8323/0.8323, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 65.72 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5469/0.7062, allocations: 132.2 MB / 0.7932 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.735, allocations: 23.19 MB / 0.8159 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006316/0.7414, allocations: 123.3 kB / 0.816 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.7459, allocations: 1.493 MB / 0.8175 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.7587, allocations: 4.102 MB / 0.8215 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006561/0.7653, allocations: 2.173 MB / 0.8236 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.777, allocations: 6.542 MB / 0.83 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.7814, allocations: 2.355 MB / 0.8323 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008595/0.79, allocations: 2.819 MB / 0.835 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.7954, allocations: 1.882 MB / 0.8369 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000944/0.7964, allocations: 251.9 kB / 0.8371 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006244/0.8026, allocations: 1.933 MB / 0.839 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009101/0.8035, allocations: 0.6031 MB / 0.8396 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.807, allocations: 1.458 MB / 0.841 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009216/0.8162, allocations: 4.389 MB / 0.8453 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8163, allocations: 0 / 0.8453 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8163, allocations: 0 / 0.8453 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001344/0.8164, allocations: 0 / 0.8453 GB, free: 11.58 MB / 0.6075 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.0081/0.8245, allocations: 3.188 MB / 0.8484 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.8246, allocations: 9.109 kB / 0.8484 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005202/0.8251, allocations: 227.8 kB / 0.8486 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.8303, allocations: 0.8356 MB / 0.8495 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005255/0.8356, allocations: 2.319 MB / 0.8517 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.8357, allocations: 127 kB / 0.8518 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.8361, allocations: 160 kB / 0.852 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004375/0.8404, allocations: 1.926 MB / 0.8539 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.8405, allocations: 7.938 kB / 0.8539 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.8407, allocations: 64 kB / 0.8539 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.8407, allocations: 43.94 kB / 0.854 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004885/0.8456, allocations: 1.796 MB / 0.8557 GB, free: 0.6445 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.01471/0.8603, allocations: 8.998 MB / 0.8645 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.8649, allocations: 1.202 MB / 0.8657 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.8661, allocations: 461.4 kB / 0.8661 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.8673, allocations: 1.723 MB / 0.8678 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.8674, allocations: 42.5 kB / 0.8679 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/0.8674, allocations: 0 / 0.8679 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009296/0.8767, allocations: 2.343 MB / 0.8701 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.8768, allocations: 85.11 kB / 0.8702 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005183/0.882, allocations: 2.524 MB / 0.8727 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.8823, allocations: 45.7 kB / 0.8727 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.8834, allocations: 1.042 MB / 0.8738 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.8838, allocations: 272.1 kB / 0.874 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/0.8844, allocations: 254.6 kB / 0.8743 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8845, allocations: 349.9 kB / 0.8746 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.8864, allocations: 0.5764 MB / 0.8752 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.8886, allocations: 0.9543 MB / 0.8761 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.892, allocations: 1.248 MB / 0.8773 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.892, allocations: 0 / 0.8773 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007984/0.9, allocations: 2.02 MB / 0.8793 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.9001, allocations: 8.625 kB / 0.8793 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.9001, allocations: 8 kB / 0.8793 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/0.9021, allocations: 497 kB / 0.8798 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.9034, allocations: 279.6 kB / 0.88 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.9058, allocations: 1.514 MB / 0.8815 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.909, allocations: 375.5 kB / 0.8819 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/0.9093, allocations: 55.97 kB / 0.8819 GB, free: 4.355 MB / 0.6387 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.001274/0.9106, allocations: 465.8 kB / 0.8824 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/0.9115, allocations: 256.8 kB / 0.8826 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.916, allocations: 1.494 MB / 0.8841 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.916, allocations: 8 kB / 0.8841 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.916, allocations: 7.938 kB / 0.8841 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.916, allocations: 3.984 kB / 0.8841 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00973/0.9258, allocations: 3.635 MB / 0.8876 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.9258, allocations: 4 kB / 0.8876 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.9265, allocations: 123.8 kB / 0.8878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.9283, allocations: 495.3 kB / 0.8882 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.9284, allocations: 23.98 kB / 0.8883 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.9312, allocations: 1.592 MB / 0.8898 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9312, allocations: 0 / 0.8898 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.9378, allocations: 1.928 MB / 0.8917 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.9391, allocations: 0.4897 MB / 0.8922 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/0.9397, allocations: 19.98 kB / 0.8922 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.9416, allocations: 135.8 kB / 0.8923 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9418, allocations: 71.66 kB / 0.8924 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.9419, allocations: 39.97 kB / 0.8924 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003415/0.9453, allocations: 1.769 MB / 0.8942 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9453, allocations: 0 / 0.8942 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002274/0.9476, allocations: 0.6867 MB / 0.8948 GB, free: 6.844 MB / 0.6544 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.007825/0.9555, allocations: 2.996 MB / 0.8978 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004517/0.96, allocations: 1.35 MB / 0.8991 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.96, allocations: 0 / 0.8991 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.9626, allocations: 0.6824 MB / 0.8997 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007216/0.9698, allocations: 1.324 MB / 0.901 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04136/1.011, allocations: 16.65 MB / 0.9173 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.013, allocations: 1.489 MB / 0.9187 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002324/1.015, allocations: 440.4 kB / 0.9192 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.017, allocations: 0.9015 MB / 0.92 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/1.017, allocations: 0 / 0.92 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.138, allocations: 67.52 MB / 0.986 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.82, allocations: 2.188 kB / 0.986 GB, free: 9.57 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)