Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.005301/0.005301, allocations: 102 kB / 15.73 MB, free: 6.062 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.001359/0.001359, allocations: 192 kB / 16.67 MB, free: 5.973 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.786/0.786, allocations: 132.2 MB / 422.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 62.86 kB / 0.5808 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1424, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06071/0.2032, allocations: 61.15 MB / 0.7189 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.2197, allocations: 11.98 MB / 0.7306 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.2217, allocations: 55.69 kB / 0.7306 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.2234, allocations: 0.683 MB / 0.7313 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.2285, allocations: 1.959 MB / 0.7332 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.2314, allocations: 1.204 MB / 0.7344 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004362/0.2358, allocations: 3.083 MB / 0.7374 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.2373, allocations: 1.1 MB / 0.7385 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.2404, allocations: 1.328 MB / 0.7398 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.2417, allocations: 0.8867 MB / 0.7406 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.2419, allocations: 116 kB / 0.7408 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.2447, allocations: 1.443 MB / 0.7422 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.245, allocations: 302.8 kB / 0.7425 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.2458, allocations: 0.6881 MB / 0.7431 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.2493, allocations: 2.32 MB / 0.7454 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2494, allocations: 3.938 kB / 0.7454 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2494, allocations: 4 kB / 0.7454 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.2494, allocations: 0 / 0.7454 GB, free: 2.141 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.002942/0.2523, allocations: 1.779 MB / 0.7471 GB, free: 304 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2524, allocations: 8.031 kB / 0.7471 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.2525, allocations: 122.9 kB / 0.7473 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2809/0.5334, allocations: 411.8 kB / 0.7477 GB, free: 86.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.5359, allocations: 1.168 MB / 0.7488 GB, free: 86.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.5359, allocations: 67.22 kB / 0.7489 GB, free: 86.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5361, allocations: 82.31 kB / 0.7489 GB, free: 86.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.5381, allocations: 1.002 MB / 0.7499 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.5381, allocations: 5.344 kB / 0.7499 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.5382, allocations: 32.78 kB / 0.7499 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.5382, allocations: 19.72 kB / 0.75 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5403, allocations: 0.8509 MB / 0.7508 GB, free: 85.79 MB / 0.5762 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.005638/0.5459, allocations: 5.204 MB / 0.7559 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.5494, allocations: 0.793 MB / 0.7567 GB, free: 81.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/0.5501, allocations: 291.7 kB / 0.7569 GB, free: 81.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/0.5506, allocations: 0.9112 MB / 0.7578 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5506, allocations: 37.81 kB / 0.7579 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.5506, allocations: 0 / 0.7579 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007098/0.5577, allocations: 1.703 MB / 0.7595 GB, free: 80 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.5578, allocations: 55.81 kB / 0.7596 GB, free: 79.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.5597, allocations: 1.076 MB / 0.7606 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.5598, allocations: 37.67 kB / 0.7607 GB, free: 79.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.5601, allocations: 0.5414 MB / 0.7612 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5603, allocations: 160.3 kB / 0.7613 GB, free: 78.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5605, allocations: 139.8 kB / 0.7615 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.5605, allocations: 326.3 kB / 0.7618 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.5614, allocations: 309.5 kB / 0.7621 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/0.5624, allocations: 0.5245 MB / 0.7626 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.5639, allocations: 0.7108 MB / 0.7633 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5639, allocations: 5.188 kB / 0.7633 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002561/0.5665, allocations: 1.011 MB / 0.7643 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5665, allocations: 6.875 kB / 0.7643 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5666, allocations: 6.906 kB / 0.7643 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.5677, allocations: 311.8 kB / 0.7646 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.5683, allocations: 127.9 kB / 0.7647 GB, free: 77.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.5695, allocations: 0.9138 MB / 0.7656 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.5706, allocations: 152.2 kB / 0.7658 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.5707, allocations: 30.94 kB / 0.7658 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.5718, allocations: 0.5091 MB / 0.7663 GB, free: 76.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009406/0.5728, allocations: 0.5297 MB / 0.7668 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00164/0.5744, allocations: 0.7017 MB / 0.7675 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.5744, allocations: 2.281 kB / 0.7675 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002538/0.577, allocations: 1.01 MB / 0.7685 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.577, allocations: 8.844 kB / 0.7685 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.577, allocations: 7.156 kB / 0.7685 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000992/0.578, allocations: 294.2 kB / 0.7688 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.5785, allocations: 132.1 kB / 0.7689 GB, free: 75.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.5797, allocations: 0.8935 MB / 0.7698 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5809, allocations: 132.6 kB / 0.7699 GB, free: 74.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.5809, allocations: 30 kB / 0.7699 GB, free: 74.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002177/0.5812, allocations: 231.3 kB / 0.7701 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.5813, allocations: 116.5 kB / 0.7703 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.5835, allocations: 0.9191 MB / 0.7711 GB, free: 73.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5835, allocations: 9.75 kB / 0.7712 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5835, allocations: 0 / 0.7712 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5835, allocations: 3.984 kB / 0.7712 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.5881, allocations: 2.14 MB / 0.7733 GB, free: 72.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5881, allocations: 2.656 kB / 0.7733 GB, free: 72.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.5884, allocations: 64.42 kB / 0.7733 GB, free: 72.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009524/0.5894, allocations: 294.5 kB / 0.7736 GB, free: 72.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5894, allocations: 15.27 kB / 0.7736 GB, free: 72.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.5906, allocations: 0.9352 MB / 0.7745 GB, free: 71.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5907, allocations: 2.219 kB / 0.7745 GB, free: 71.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.594, allocations: 1.144 MB / 0.7756 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.5945, allocations: 275.9 kB / 0.7759 GB, free: 70.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.5947, allocations: 12.11 kB / 0.7759 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.5954, allocations: 73.8 kB / 0.776 GB, free: 70.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.5955, allocations: 41.38 kB / 0.776 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.5956, allocations: 23.11 kB / 0.776 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001079/0.5967, allocations: 0.7519 MB / 0.7768 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5967, allocations: 0 / 0.7768 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001559/0.5982, allocations: 0.5689 MB / 0.7773 GB, free: 69.78 MB / 0.5762 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 (33): * Single equations (assignments): 28 * 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.004146/0.6024, allocations: 1.973 MB / 0.7793 GB, free: 68.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.6053, allocations: 1.114 MB / 0.7804 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6053, allocations: 1.812 kB / 0.7804 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.6061, allocations: 350.9 kB / 0.7807 GB, free: 67.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.6082, allocations: 0.5186 MB / 0.7812 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.6217, allocations: 8.46 MB / 0.7895 GB, free: 60.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.6221, allocations: 1.061 MB / 0.7905 GB, free: 59.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007513/0.6228, allocations: 225.5 kB / 0.7907 GB, free: 59.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.6232, allocations: 411.3 kB / 0.7911 GB, free: 59.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.6233, allocations: 0 / 0.7911 GB, free: 59.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.6903, allocations: 33.47 MB / 0.8238 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.17, allocations: 11.86 kB / 0.8238 GB, free: 25.95 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)