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.004977/0.004977, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.00114/0.00114, allocations: 192 kB / 16.68 MB, free: 5.941 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.24/1.24, 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/package.mo): time 0.7808/0.7808, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 61.73 kB / 0.5808 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1447, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06075/0.2055, allocations: 61.15 MB / 0.7189 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.2221, allocations: 11.97 MB / 0.7306 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.2241, allocations: 55.69 kB / 0.7306 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.2262, allocations: 0.683 MB / 0.7313 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.2315, allocations: 1.964 MB / 0.7332 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.2345, allocations: 1.211 MB / 0.7344 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.239, allocations: 3.088 MB / 0.7374 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.2408, allocations: 1.088 MB / 0.7385 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.244, allocations: 1.359 MB / 0.7398 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.2457, allocations: 0.8945 MB / 0.7407 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.2461, allocations: 112 kB / 0.7408 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.2491, allocations: 1.443 MB / 0.7422 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.2496, allocations: 302.8 kB / 0.7425 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.2508, allocations: 0.6841 MB / 0.7431 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.2548, allocations: 2.31 MB / 0.7454 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2548, allocations: 0 / 0.7454 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2548, allocations: 0 / 0.7454 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-05/0.2549, allocations: 0 / 0.7454 GB, free: 2.18 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.003695/0.2586, allocations: 1.73 MB / 0.7471 GB, free: 396 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2586, allocations: 19.97 kB / 0.7471 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.2588, allocations: 118.9 kB / 0.7472 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2964/0.5553, allocations: 406.5 kB / 0.7476 GB, free: 86.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.5577, allocations: 1.156 MB / 0.7487 GB, free: 86.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.5578, allocations: 63.8 kB / 0.7488 GB, free: 86.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5579, allocations: 85.81 kB / 0.7489 GB, free: 86.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.5599, allocations: 1.003 MB / 0.7499 GB, free: 86.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5599, allocations: 2.219 kB / 0.7499 GB, free: 86.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.56, allocations: 35.78 kB / 0.7499 GB, free: 86.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.56, allocations: 18.97 kB / 0.7499 GB, free: 86.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.562, allocations: 0.8473 MB / 0.7507 GB, free: 85.78 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.005506/0.5675, allocations: 5.213 MB / 0.7558 GB, free: 81.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.5709, allocations: 0.7823 MB / 0.7566 GB, free: 81.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.5716, allocations: 292.8 kB / 0.7569 GB, free: 81.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.572, allocations: 0.9095 MB / 0.7578 GB, free: 80.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.572, allocations: 32.94 kB / 0.7578 GB, free: 80.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.5721, allocations: 0 / 0.7578 GB, free: 80.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006913/0.579, allocations: 1.697 MB / 0.7595 GB, free: 79.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.579, allocations: 56 kB / 0.7595 GB, free: 79.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5809, allocations: 1.079 MB / 0.7606 GB, free: 79.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.581, allocations: 33.89 kB / 0.7606 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.5814, allocations: 0.5333 MB / 0.7611 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5815, allocations: 153.4 kB / 0.7613 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.5818, allocations: 133.1 kB / 0.7614 GB, free: 78.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.5818, allocations: 326.6 kB / 0.7617 GB, free: 78.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.5827, allocations: 308.6 kB / 0.762 GB, free: 78.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/0.5836, allocations: 0.5265 MB / 0.7625 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.5851, allocations: 0.7142 MB / 0.7632 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5851, allocations: 2.719 kB / 0.7632 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00243/0.5875, allocations: 1.014 MB / 0.7642 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5876, allocations: 9.531 kB / 0.7642 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5876, allocations: 5.406 kB / 0.7642 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5887, allocations: 306.7 kB / 0.7645 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.5892, allocations: 132.1 kB / 0.7646 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.5904, allocations: 0.9068 MB / 0.7655 GB, free: 76.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5916, allocations: 153.3 kB / 0.7657 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.5916, allocations: 31.38 kB / 0.7657 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.5927, allocations: 0.5096 MB / 0.7662 GB, free: 76.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008846/0.5936, allocations: 0.526 MB / 0.7667 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00152/0.5951, allocations: 0.7039 MB / 0.7674 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.5951, allocations: 1.656 kB / 0.7674 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002374/0.5975, allocations: 0.9978 MB / 0.7684 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5975, allocations: 7.562 kB / 0.7684 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5975, allocations: 5.25 kB / 0.7684 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/0.5985, allocations: 308.1 kB / 0.7687 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.599, allocations: 128 kB / 0.7688 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.6, allocations: 0.8937 MB / 0.7697 GB, free: 74.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.6011, allocations: 138.7 kB / 0.7698 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.6012, allocations: 31.95 kB / 0.7698 GB, free: 74.3 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.0001867/0.6013, allocations: 219.8 kB / 0.77 GB, free: 74.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.6015, allocations: 113.1 kB / 0.7702 GB, free: 74.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.6034, allocations: 0.9128 MB / 0.771 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6035, allocations: 10.23 kB / 0.7711 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6035, allocations: 0 / 0.7711 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6035, allocations: 0 / 0.7711 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.6077, allocations: 2.144 MB / 0.7731 GB, free: 72.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6077, allocations: 4.281 kB / 0.7732 GB, free: 72.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.608, allocations: 65.31 kB / 0.7732 GB, free: 72.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008338/0.6088, allocations: 297 kB / 0.7735 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.6089, allocations: 18.55 kB / 0.7735 GB, free: 72.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.61, allocations: 0.9259 MB / 0.7744 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.61, allocations: 3.094 kB / 0.7744 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.6131, allocations: 1.139 MB / 0.7755 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.6134, allocations: 275.3 kB / 0.7758 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.6135, allocations: 17.31 kB / 0.7758 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/0.6143, allocations: 69.03 kB / 0.7759 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.6144, allocations: 37.44 kB / 0.7759 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.6144, allocations: 23.11 kB / 0.7759 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001245/0.6157, allocations: 0.7519 MB / 0.7767 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6157, allocations: 0.75 kB / 0.7767 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001442/0.6171, allocations: 0.5661 MB / 0.7772 GB, free: 69.77 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.003822/0.6209, allocations: 1.964 MB / 0.7791 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002754/0.6237, allocations: 1.119 MB / 0.7802 GB, free: 67.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6237, allocations: 0 / 0.7802 GB, free: 67.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.6245, allocations: 351.8 kB / 0.7806 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.6264, allocations: 0.5058 MB / 0.7811 GB, free: 67.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.6395, allocations: 8.41 MB / 0.7893 GB, free: 60.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.6399, allocations: 1.065 MB / 0.7903 GB, free: 59.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007458/0.6406, allocations: 224.4 kB / 0.7905 GB, free: 59.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.641, allocations: 419.3 kB / 0.7909 GB, free: 59.24 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.6411, allocations: 0 / 0.7909 GB, free: 59.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.6947, allocations: 34.15 MB / 0.8243 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.11, allocations: 14.81 kB / 0.8243 GB, free: 25.45 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)