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.005629/0.005629, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001039/0.001039, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7925/0.7925, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.16 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1974, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5789/0.7763, allocations: 132.2 MB / 0.7932 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.8058, allocations: 23.19 MB / 0.8159 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005342/0.8112, allocations: 124.8 kB / 0.816 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.8154, allocations: 1.537 MB / 0.8175 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.83, allocations: 4.306 MB / 0.8217 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007622/0.8376, allocations: 2.18 MB / 0.8238 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.8496, allocations: 6.555 MB / 0.8303 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004567/0.8542, allocations: 2.356 MB / 0.8326 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008236/0.8625, allocations: 2.823 MB / 0.8353 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.8667, allocations: 1.887 MB / 0.8372 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006482/0.8673, allocations: 246.6 kB / 0.8374 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/0.8741, allocations: 1.937 MB / 0.8393 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.8752, allocations: 0.6031 MB / 0.8399 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004003/0.8792, allocations: 1.462 MB / 0.8413 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.8904, allocations: 4.389 MB / 0.8456 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8904, allocations: 0 / 0.8456 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8904, allocations: 0 / 0.8456 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001551/0.8906, allocations: 0 / 0.8456 GB, free: 11.31 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.008798/0.8994, allocations: 3.188 MB / 0.8487 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.8995, allocations: 13.11 kB / 0.8487 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005528/0.9001, allocations: 219.8 kB / 0.8489 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.9049, allocations: 0.8434 MB / 0.8497 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.911, allocations: 2.32 MB / 0.852 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.9112, allocations: 123 kB / 0.8521 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.9118, allocations: 160 kB / 0.8523 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.9176, allocations: 1.926 MB / 0.8542 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.9177, allocations: 7.938 kB / 0.8542 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.918, allocations: 60 kB / 0.8542 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.9181, allocations: 43.94 kB / 0.8543 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005383/0.9235, allocations: 1.799 MB / 0.856 GB, free: 384 kB / 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.01672/0.9402, allocations: 9.006 MB / 0.8648 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.9445, allocations: 1.198 MB / 0.866 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.9456, allocations: 465.4 kB / 0.8664 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.947, allocations: 1.719 MB / 0.8681 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.947, allocations: 42.56 kB / 0.8681 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/0.9471, allocations: 0 / 0.8681 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008669/0.9557, allocations: 2.335 MB / 0.8704 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.9558, allocations: 89.09 kB / 0.8705 GB, free: 452 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/0.961, allocations: 2.532 MB / 0.873 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.9612, allocations: 41.7 kB / 0.873 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009889/0.9622, allocations: 1.038 MB / 0.874 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.9626, allocations: 276.1 kB / 0.8743 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.9631, allocations: 254.6 kB / 0.8745 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9633, allocations: 345.9 kB / 0.8749 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.965, allocations: 0.5764 MB / 0.8754 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.9671, allocations: 0.9465 MB / 0.8764 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.9701, allocations: 1.252 MB / 0.8776 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.9701, allocations: 4 kB / 0.8776 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006703/0.9768, allocations: 2.017 MB / 0.8796 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.9769, allocations: 12.09 kB / 0.8796 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.9769, allocations: 8 kB / 0.8796 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.9789, allocations: 495.6 kB / 0.8801 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.9801, allocations: 283.5 kB / 0.8803 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.9824, allocations: 1.514 MB / 0.8818 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.9854, allocations: 377.9 kB / 0.8822 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.9856, allocations: 63.97 kB / 0.8822 GB, free: 4.07 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.001121/0.9868, allocations: 453.9 kB / 0.8827 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/0.9876, allocations: 252.8 kB / 0.8829 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.9916, allocations: 1.494 MB / 0.8844 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.9917, allocations: 15.98 kB / 0.8844 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.9917, allocations: 0 / 0.8844 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9917, allocations: 7.984 kB / 0.8844 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009452/1.001, allocations: 3.634 MB / 0.8879 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.001, allocations: 4 kB / 0.8879 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.002, allocations: 123.8 kB / 0.888 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.004, allocations: 489.3 kB / 0.8885 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/1.004, allocations: 23.98 kB / 0.8885 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/1.007, allocations: 1.599 MB / 0.8901 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.007, allocations: 7.938 kB / 0.8901 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00657/1.013, allocations: 1.928 MB / 0.892 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.015, allocations: 497.5 kB / 0.8925 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008692/1.016, allocations: 16 kB / 0.8925 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.018, allocations: 139.8 kB / 0.8926 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.018, allocations: 67.75 kB / 0.8927 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.018, allocations: 39.91 kB / 0.8927 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004416/1.023, allocations: 1.777 MB / 0.8944 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/1.023, allocations: 0 / 0.8944 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003117/1.026, allocations: 0.6867 MB / 0.8951 GB, free: 6.57 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.008239/1.034, allocations: 2.989 MB / 0.898 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004455/1.039, allocations: 1.346 MB / 0.8994 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.039, allocations: 0 / 0.8994 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.041, allocations: 0.6784 MB / 0.9 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006602/1.048, allocations: 1.33 MB / 0.9013 GB, free: 188 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/1.084, allocations: 16.65 MB / 0.9176 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.085, allocations: 1.489 MB / 0.919 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002095/1.087, allocations: 436.5 kB / 0.9194 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.089, allocations: 0.9015 MB / 0.9203 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/1.089, allocations: 0 / 0.9203 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.206, allocations: 66.19 MB / 0.985 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.67, allocations: 14.39 kB / 0.985 GB, free: 10.62 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)