Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.007461/0.007461, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.00194/0.00194, allocations: 187 kB / 16.67 MB, free: 5.918 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 75.41 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1487, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06041/0.2091, allocations: 61.16 MB / 0.7189 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.2253, allocations: 11.98 MB / 0.7306 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.2268, allocations: 59.62 kB / 0.7307 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.2284, allocations: 0.6752 MB / 0.7314 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.2328, allocations: 1.964 MB / 0.7333 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.2354, allocations: 1.207 MB / 0.7345 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00363/0.2391, allocations: 3.079 MB / 0.7375 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.2405, allocations: 1.1 MB / 0.7385 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.2431, allocations: 1.336 MB / 0.7398 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.2443, allocations: 0.8945 MB / 0.7407 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.2445, allocations: 112 kB / 0.7408 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.2471, allocations: 1.482 MB / 0.7423 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.2474, allocations: 294.9 kB / 0.7425 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.2481, allocations: 0.6919 MB / 0.7432 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.2511, allocations: 2.347 MB / 0.7455 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2511, allocations: 0 / 0.7455 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2511, allocations: 0 / 0.7455 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.2511, allocations: 0 / 0.7455 GB, free: 5.273 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00288/0.254, allocations: 1.785 MB / 0.7473 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2541, allocations: 8.031 kB / 0.7473 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.2542, allocations: 126.9 kB / 0.7474 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.2559, allocations: 359.3 kB / 0.7477 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.2579, allocations: 1.164 MB / 0.7489 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.258, allocations: 62 kB / 0.7489 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2581, allocations: 80 kB / 0.749 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2599, allocations: 0.9741 MB / 0.75 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.26, allocations: 7.922 kB / 0.75 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.2601, allocations: 35.94 kB / 0.75 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2601, allocations: 24 kB / 0.75 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.2621, allocations: 0.804 MB / 0.7508 GB, free: 15.67 MB / 0.5919 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.00603/0.2682, allocations: 5.138 MB / 0.7558 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.2697, allocations: 0.5692 MB / 0.7564 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.2703, allocations: 272.6 kB / 0.7566 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.2718, allocations: 1.365 MB / 0.758 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2718, allocations: 46.48 kB / 0.758 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.2718, allocations: 4 kB / 0.758 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.005564/0.2774, allocations: 1.487 MB / 0.7595 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2774, allocations: 55.41 kB / 0.7595 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.2789, allocations: 1.076 MB / 0.7606 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.279, allocations: 37.7 kB / 0.7606 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.2795, allocations: 0.5359 MB / 0.7611 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.2796, allocations: 158.6 kB / 0.7613 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.2798, allocations: 138.2 kB / 0.7614 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.28, allocations: 333.9 kB / 0.7617 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/0.2807, allocations: 279.3 kB / 0.762 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/0.2817, allocations: 0.4883 MB / 0.7625 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2832, allocations: 0.6638 MB / 0.7631 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2832, allocations: 0 / 0.7631 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002397/0.2856, allocations: 0.9544 MB / 0.7641 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2856, allocations: 11.98 kB / 0.7641 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2857, allocations: 11.97 kB / 0.7641 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.2869, allocations: 300.5 kB / 0.7644 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.2873, allocations: 127.8 kB / 0.7645 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2888, allocations: 0.8996 MB / 0.7654 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/0.2898, allocations: 143.5 kB / 0.7655 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.2899, allocations: 31.98 kB / 0.7655 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001014/0.2909, allocations: 489.2 kB / 0.766 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009409/0.2919, allocations: 499 kB / 0.7665 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001441/0.2933, allocations: 0.6503 MB / 0.7671 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.2933, allocations: 0 / 0.7671 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00232/0.2957, allocations: 0.9582 MB / 0.768 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2957, allocations: 7.938 kB / 0.7681 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2957, allocations: 8 kB / 0.7681 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.2967, allocations: 296.6 kB / 0.7683 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.2972, allocations: 119.8 kB / 0.7685 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2986, allocations: 0.8958 MB / 0.7693 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.2996, allocations: 127.7 kB / 0.7695 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.2997, allocations: 35.92 kB / 0.7695 GB, free: 11.38 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.2999, allocations: 220.1 kB / 0.7697 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.3001, allocations: 123.3 kB / 0.7698 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.3023, allocations: 0.8963 MB / 0.7707 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3023, allocations: 8 kB / 0.7707 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3023, allocations: 0 / 0.7707 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3023, allocations: 3.984 kB / 0.7707 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.3078, allocations: 2.199 MB / 0.7729 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3079, allocations: 4 kB / 0.7729 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3081, allocations: 55.91 kB / 0.7729 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009805/0.3091, allocations: 295.1 kB / 0.7732 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3091, allocations: 16 kB / 0.7732 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.3106, allocations: 0.9308 MB / 0.7741 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.3106, allocations: 8.016 kB / 0.7741 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.3147, allocations: 1.236 MB / 0.7753 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.3151, allocations: 264.1 kB / 0.7756 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3153, allocations: 15.94 kB / 0.7756 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.3161, allocations: 67.86 kB / 0.7757 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.3162, allocations: 35.89 kB / 0.7757 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.3162, allocations: 27.97 kB / 0.7757 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001238/0.3175, allocations: 0.759 MB / 0.7765 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3175, allocations: 0 / 0.7765 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001549/0.319, allocations: 0.5808 MB / 0.777 GB, free: 3.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004561/0.3236, allocations: 1.975 MB / 0.779 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.3265, allocations: 1.042 MB / 0.78 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3265, allocations: 0 / 0.78 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.3273, allocations: 319 kB / 0.7803 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.3296, allocations: 0.508 MB / 0.7808 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.3441, allocations: 7.953 MB / 0.7885 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.3449, allocations: 1.065 MB / 0.7896 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008117/0.3457, allocations: 224.3 kB / 0.7898 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.3463, allocations: 411.3 kB / 0.7902 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.3463, allocations: 0 / 0.7902 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8322/1.178, allocations: 33.89 MB / 0.8233 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.69, allocations: 8.719 kB / 0.8233 GB, free: 140.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)