Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004944/0.004945, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 262.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 16.72 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0547/0.2068, allocations: 59.71 MB / 0.7434 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.2228, allocations: 11.92 MB / 0.7551 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.2244, allocations: 59.62 kB / 0.7551 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.2261, allocations: 0.5438 MB / 0.7557 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.231, allocations: 1.809 MB / 0.7574 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.234, allocations: 1.067 MB / 0.7585 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2997/0.5337, allocations: 3.912 MB / 0.7623 GB, free: 24.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.536, allocations: 0.9129 MB / 0.7632 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.5389, allocations: 1.116 MB / 0.7643 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.5404, allocations: 0.8622 MB / 0.7651 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.5405, allocations: 43.69 kB / 0.7652 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.5432, allocations: 1.338 MB / 0.7665 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.5435, allocations: 221.7 kB / 0.7667 GB, free: 23.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00066/0.5441, allocations: 0.6414 MB / 0.7673 GB, free: 23.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.5469, allocations: 2.213 MB / 0.7695 GB, free: 23.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5469, allocations: 0.5625 kB / 0.7695 GB, free: 23.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5469, allocations: 0 / 0.7695 GB, free: 23.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.5469, allocations: 1.188 kB / 0.7695 GB, free: 23.54 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002712/0.5496, allocations: 1.499 MB / 0.7709 GB, free: 22.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5497, allocations: 13.34 kB / 0.7709 GB, free: 22.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.5524, allocations: 0.5141 MB / 0.7714 GB, free: 22.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.5544, allocations: 1.136 MB / 0.7726 GB, free: 22.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.5547, allocations: 135 kB / 0.7727 GB, free: 22.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5549, allocations: 81.06 kB / 0.7728 GB, free: 22.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.5571, allocations: 1.033 MB / 0.7738 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5571, allocations: 0 / 0.7738 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.5572, allocations: 33.69 kB / 0.7738 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5572, allocations: 19.3 kB / 0.7738 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.5597, allocations: 1.012 MB / 0.7748 GB, free: 22.01 MB / 0.545 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.006032/0.5658, allocations: 4.701 MB / 0.7794 GB, free: 19.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.5699, allocations: 1.129 MB / 0.7805 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5709, allocations: 439.6 kB / 0.7809 GB, free: 19.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.5716, allocations: 1.032 MB / 0.7819 GB, free: 18.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.5717, allocations: 46.48 kB / 0.782 GB, free: 18.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/0.5717, allocations: 0 / 0.782 GB, free: 18.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.007807/0.5795, allocations: 2.141 MB / 0.7841 GB, free: 18.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.5796, allocations: 60.2 kB / 0.7841 GB, free: 18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.5807, allocations: 0.945 MB / 0.785 GB, free: 17.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.5808, allocations: 41.02 kB / 0.7851 GB, free: 17.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.5811, allocations: 0.5046 MB / 0.7856 GB, free: 17.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5813, allocations: 182.5 kB / 0.7858 GB, free: 17.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.5814, allocations: 51.58 kB / 0.7858 GB, free: 17.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.5814, allocations: 329.5 kB / 0.7861 GB, free: 17.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5825, allocations: 380.6 kB / 0.7865 GB, free: 17.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5836, allocations: 0.5415 MB / 0.787 GB, free: 17.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.5858, allocations: 0.8173 MB / 0.7878 GB, free: 16.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5858, allocations: 0.5 kB / 0.7878 GB, free: 16.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003325/0.5891, allocations: 1.133 MB / 0.7889 GB, free: 16.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.5892, allocations: 176.4 kB / 0.7891 GB, free: 16.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5892, allocations: 3.344 kB / 0.7891 GB, free: 16.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.5906, allocations: 330 kB / 0.7894 GB, free: 16.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.5912, allocations: 138.7 kB / 0.7895 GB, free: 16.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.5926, allocations: 0.9428 MB / 0.7905 GB, free: 16.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.5939, allocations: 168.5 kB / 0.7906 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.594, allocations: 34.58 kB / 0.7906 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.594, allocations: 3.562 kB / 0.7906 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/0.5967, allocations: 1.009 MB / 0.7916 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5967, allocations: 6.031 kB / 0.7916 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.5978, allocations: 321.5 kB / 0.7919 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.5985, allocations: 141.6 kB / 0.7921 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.5998, allocations: 0.9348 MB / 0.793 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.601, allocations: 170.1 kB / 0.7932 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.601, allocations: 27.27 kB / 0.7932 GB, free: 15.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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.000517/0.6016, allocations: 360 kB / 0.7935 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6017, allocations: 107.5 kB / 0.7936 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.6048, allocations: 1.22 MB / 0.7948 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6049, allocations: 5.875 kB / 0.7948 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6049, allocations: 5.031 kB / 0.7948 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6049, allocations: 4.875 kB / 0.7948 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/0.6093, allocations: 2.32 MB / 0.7971 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6093, allocations: 5.609 kB / 0.7971 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.6098, allocations: 111.8 kB / 0.7972 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.6109, allocations: 332.5 kB / 0.7975 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.6109, allocations: 19.14 kB / 0.7975 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.6123, allocations: 0.9678 MB / 0.7985 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6124, allocations: 4.359 kB / 0.7985 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6161, allocations: 1.407 MB / 0.7999 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.6166, allocations: 292 kB / 0.8001 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6168, allocations: 18.31 kB / 0.8002 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.6178, allocations: 120.1 kB / 0.8003 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.6179, allocations: 42.28 kB / 0.8003 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.6179, allocations: 25.97 kB / 0.8003 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009041/0.6188, allocations: 0.6641 MB / 0.801 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6188, allocations: 3.469 kB / 0.801 GB, free: 13.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001567/0.6204, allocations: 0.5732 MB / 0.8016 GB, free: 13.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008009/0.6212, allocations: 382.4 kB / 0.8019 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.625, allocations: 1.394 MB / 0.8033 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6251, allocations: 0 / 0.8033 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.6264, allocations: 493.3 kB / 0.8038 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.6294, allocations: 0.4945 MB / 0.8042 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.6333, allocations: 2.384 MB / 0.8066 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.6338, allocations: 1.063 MB / 0.8076 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001001/0.6348, allocations: 244.2 kB / 0.8078 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.635, allocations: 81.81 kB / 0.8079 GB, free: 10.54 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.635, allocations: 0 / 0.8079 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Templates: time 0.03283/0.6678, allocations: 23.62 MB / 0.831 GB, free: 9.918 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)