Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 180.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008341/0.0008342, allocations: 93.16 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 9.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.03901/0.2758, allocations: 51.32 MB / 0.9503 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2903, allocations: 10.2 MB / 0.9602 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.2935, allocations: 47.62 kB / 0.9603 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.2964, allocations: 0.6296 MB / 0.9609 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.3044, allocations: 1.903 MB / 0.9627 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.309, allocations: 1.229 MB / 0.9639 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004942/0.3139, allocations: 1.842 MB / 0.9657 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.316, allocations: 0.8018 MB / 0.9665 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.3189, allocations: 0.9769 MB / 0.9675 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.3203, allocations: 0.6144 MB / 0.9681 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3204, allocations: 40 kB / 0.9681 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.3231, allocations: 0.9868 MB / 0.9691 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.3233, allocations: 195.1 kB / 0.9693 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.3237, allocations: 285.1 kB / 0.9695 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.326, allocations: 1.582 MB / 0.9711 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.326, allocations: 0 / 0.9711 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.326, allocations: 0 / 0.9711 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.326, allocations: 0 / 0.9711 GB, free: 6.996 MB / 0.6198 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.002857/0.3289, allocations: 1.485 MB / 0.9725 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3289, allocations: 12.03 kB / 0.9725 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.3291, allocations: 122.7 kB / 0.9727 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.3313, allocations: 477.8 kB / 0.9731 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.3334, allocations: 1.055 MB / 0.9742 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.3338, allocations: 129.9 kB / 0.9743 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.3339, allocations: 84 kB / 0.9744 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.336, allocations: 0.9956 MB / 0.9753 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.336, allocations: 0 / 0.9753 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.3361, allocations: 32 kB / 0.9754 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3362, allocations: 23.92 kB / 0.9754 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.3385, allocations: 0.9211 MB / 0.9763 GB, free: 1.512 MB / 0.6198 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.007399/0.346, allocations: 4.658 MB / 0.9808 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.3496, allocations: 0.945 MB / 0.9818 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008082/0.3504, allocations: 0.9107 MB / 0.9826 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3505, allocations: 39 kB / 0.9827 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 5.851e-06/0.3505, allocations: 0 / 0.9827 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007616/0.3581, allocations: 1.987 MB / 0.9846 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3582, allocations: 59.84 kB / 0.9847 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.36, allocations: 1.071 MB / 0.9857 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3601, allocations: 41.7 kB / 0.9858 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.3606, allocations: 0.5197 MB / 0.9863 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.3608, allocations: 157.7 kB / 0.9864 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3608, allocations: 15.94 kB / 0.9864 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.361, allocations: 330 kB / 0.9867 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009243/0.362, allocations: 328.9 kB / 0.9871 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3631, allocations: 0.5235 MB / 0.9876 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.3641, allocations: 368.5 kB / 0.9879 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3641, allocations: 8 kB / 0.9879 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003928/0.368, allocations: 1.217 MB / 0.9891 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000721/0.3688, allocations: 1.495 MB / 0.9906 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3688, allocations: 4 kB / 0.9906 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.3701, allocations: 334.5 kB / 0.9909 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.3708, allocations: 131.8 kB / 0.991 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.3724, allocations: 0.9425 MB / 0.992 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.3739, allocations: 195.2 kB / 0.9921 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.374, allocations: 31.98 kB / 0.9922 GB, free: 416 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.374, allocations: 4 kB / 0.9922 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003541/0.3775, allocations: 1.1 MB / 0.9932 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3776, allocations: 4 kB / 0.9932 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3787, allocations: 330.1 kB / 0.9936 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.3793, allocations: 127.8 kB / 0.9937 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.3808, allocations: 0.9349 MB / 0.9946 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3821, allocations: 171.3 kB / 0.9948 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.3822, allocations: 27.98 kB / 0.9948 GB, free: 13.69 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006347/0.3828, allocations: 360.9 kB / 0.9951 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.3831, allocations: 114.6 kB / 0.9952 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.3861, allocations: 1.038 MB / 0.9963 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.3862, allocations: 4 kB / 0.9963 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3862, allocations: 0 / 0.9963 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3862, allocations: 7.984 kB / 0.9963 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.3926, allocations: 2.485 MB / 0.9987 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3926, allocations: 4 kB / 0.9987 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.393, allocations: 75.88 kB / 0.9988 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.394, allocations: 320.9 kB / 0.9991 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.394, allocations: 19.98 kB / 0.9991 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.3956, allocations: 0.9758 MB / 1 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3956, allocations: 4.062 kB / 1 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/0.3995, allocations: 1.408 MB / 1.001 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/0.4002, allocations: 295.4 kB / 1.002 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4003, allocations: 12 kB / 1.002 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/0.4012, allocations: 115.8 kB / 1.002 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.4013, allocations: 39.89 kB / 1.002 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.4014, allocations: 23.98 kB / 1.002 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001316/0.4027, allocations: 0.7508 MB / 1.003 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4027, allocations: 0 / 1.003 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001683/0.4044, allocations: 0.5498 MB / 1.003 GB, free: 4.855 MB / 0.6511 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00521/0.4096, allocations: 2.826 MB / 1.006 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003474/0.4131, allocations: 1.214 MB / 1.007 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4132, allocations: 256 / 1.007 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009694/0.4141, allocations: 386.8 kB / 1.007 GB, free: 364 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.4169, allocations: 0.5144 MB / 1.008 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/0.425, allocations: 5.787 MB / 1.014 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.4258, allocations: 1.089 MB / 1.015 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001309/0.4271, allocations: 228.8 kB / 1.015 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.4278, allocations: 411.3 kB / 1.015 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/0.4278, allocations: 0 / 1.015 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07114/0.4989, allocations: 33.51 MB / 1.048 GB, free: 7.008 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.4993, allocations: 244.3 kB / 1.048 GB, free: 6.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/3.438, allocations: 0 / 1.048 GB, free: 6.68 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)