Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001451/0.001451, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 284.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 96.22 kB / 0.682 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5341, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.0709/0.605, allocations: 75.13 MB / 0.8403 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.6227, allocations: 12.76 MB / 0.8528 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.6254, allocations: 63.62 kB / 0.8529 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.628, allocations: 0.8345 MB / 0.8537 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007139/0.6352, allocations: 2.467 MB / 0.8561 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.6391, allocations: 1.386 MB / 0.8574 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006065/0.6452, allocations: 4.389 MB / 0.8617 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.6477, allocations: 1.441 MB / 0.8631 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.6517, allocations: 1.613 MB / 0.8647 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.654, allocations: 1.202 MB / 0.8659 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.6545, allocations: 164 kB / 0.866 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.6579, allocations: 1.4 MB / 0.8674 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.6585, allocations: 398.6 kB / 0.8678 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.6602, allocations: 0.906 MB / 0.8687 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.6651, allocations: 2.866 MB / 0.8715 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6651, allocations: 4 kB / 0.8715 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6651, allocations: 0 / 0.8715 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.69e-05/0.6652, allocations: 0 / 0.8715 GB, free: 8.523 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004273/0.6695, allocations: 2.079 MB / 0.8735 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6696, allocations: 8.031 kB / 0.8735 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008581/0.6704, allocations: 234.8 kB / 0.8737 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.6729, allocations: 1.524 MB / 0.8752 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.673, allocations: 74 kB / 0.8753 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6732, allocations: 100 kB / 0.8754 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.6752, allocations: 1.1 MB / 0.8765 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.6752, allocations: 0 / 0.8765 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.6753, allocations: 44 kB / 0.8765 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.6753, allocations: 28 kB / 0.8765 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6772, allocations: 0.886 MB / 0.8774 GB, free: 2.293 MB / 0.6387 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.006072/0.6833, allocations: 4.895 MB / 0.8822 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.6847, allocations: 0.6268 MB / 0.8828 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.6854, allocations: 350.8 kB / 0.8831 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.6861, allocations: 0.8199 MB / 0.8839 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.6861, allocations: 43.06 kB / 0.884 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.6862, allocations: 0 / 0.884 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007354/0.6935, allocations: 1.689 MB / 0.8856 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.6936, allocations: 59.95 kB / 0.8857 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.6955, allocations: 1.229 MB / 0.8869 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6956, allocations: 37.7 kB / 0.8869 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/0.6962, allocations: 0.5987 MB / 0.8875 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.6964, allocations: 216.9 kB / 0.8877 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.6967, allocations: 150.6 kB / 0.8878 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6968, allocations: 337.9 kB / 0.8882 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.6975, allocations: 292.6 kB / 0.8884 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/0.6984, allocations: 498.2 kB / 0.8889 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.6999, allocations: 0.7244 MB / 0.8896 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6999, allocations: 4 kB / 0.8896 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004922/0.7048, allocations: 1.269 MB / 0.8909 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7049, allocations: 8 kB / 0.8909 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7049, allocations: 4.375 kB / 0.8909 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.7055, allocations: 140.7 kB / 0.891 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.7062, allocations: 155.8 kB / 0.8912 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008814/0.7071, allocations: 0.6928 MB / 0.8918 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.7083, allocations: 122.9 kB / 0.892 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7084, allocations: 31.98 kB / 0.892 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001133/0.7095, allocations: 0.5566 MB / 0.8925 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008362/0.7104, allocations: 491.8 kB / 0.893 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001427/0.7118, allocations: 0.6973 MB / 0.8937 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-06/0.7118, allocations: 7.938 kB / 0.8937 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004828/0.7167, allocations: 1.261 MB / 0.8949 GB, free: 15.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7167, allocations: 7.938 kB / 0.8949 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7167, allocations: 4 kB / 0.8949 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.7172, allocations: 133.1 kB / 0.8951 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.7178, allocations: 167.7 kB / 0.8952 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.7186, allocations: 0.6889 MB / 0.8959 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.7197, allocations: 95.42 kB / 0.896 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.7198, allocations: 35.98 kB / 0.896 GB, free: 14.32 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.7201, allocations: 224.1 kB / 0.8962 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.7204, allocations: 134.3 kB / 0.8964 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.7251, allocations: 1.267 MB / 0.8976 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.7251, allocations: 8 kB / 0.8976 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7251, allocations: 0 / 0.8976 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004087/0.7292, allocations: 1.103 MB / 0.8987 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.736, allocations: 2.621 MB / 0.9012 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.736, allocations: 0 / 0.9012 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.7365, allocations: 111.9 kB / 0.9013 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.737, allocations: 132.8 kB / 0.9015 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.7371, allocations: 23.92 kB / 0.9015 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.7421, allocations: 2.591 MB / 0.904 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7421, allocations: 7.938 kB / 0.904 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.7475, allocations: 1.691 MB / 0.9057 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.7481, allocations: 311.2 kB / 0.906 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.7484, allocations: 12 kB / 0.906 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/0.7493, allocations: 59.98 kB / 0.9061 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.7494, allocations: 64.23 kB / 0.9061 GB, free: 3.562 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.7495, allocations: 27.98 kB / 0.9061 GB, free: 3.535 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00131/0.7508, allocations: 0.8855 MB / 0.907 GB, free: 2.648 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7508, allocations: 0 / 0.907 GB, free: 2.648 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001931/0.7527, allocations: 0.7135 MB / 0.9077 GB, free: 1.934 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008873/0.7536, allocations: 459.8 kB / 0.9081 GB, free: 1.484 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.7562, allocations: 1.121 MB / 0.9092 GB, free: 376 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.7562, allocations: 7.938 kB / 0.9092 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.7577, allocations: 0.5603 MB / 0.9098 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.7611, allocations: 0.7971 MB / 0.9106 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.765, allocations: 2.294 MB / 0.9128 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.7658, allocations: 1.172 MB / 0.914 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.7661, allocations: 115.3 kB / 0.9141 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/0.7661, allocations: 3.938 kB / 0.9141 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.03919/0.8053, allocations: 31.1 MB / 0.9444 GB, free: 12.43 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)