Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001213/0.001213, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9936/0.9936, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 83.4 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3503/0.5057, allocations: 51.25 MB / 0.6473 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.5197, allocations: 10.33 MB / 0.6574 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.5221, allocations: 50.47 kB / 0.6575 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.5242, allocations: 0.6294 MB / 0.6581 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.5306, allocations: 1.94 MB / 0.66 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.5345, allocations: 1.316 MB / 0.6612 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004294/0.5388, allocations: 1.85 MB / 0.6631 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.5406, allocations: 0.8056 MB / 0.6638 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.5433, allocations: 0.9837 MB / 0.6648 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.5446, allocations: 0.6041 MB / 0.6654 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.5447, allocations: 41.69 kB / 0.6654 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.5474, allocations: 0.9894 MB / 0.6664 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.5476, allocations: 196.5 kB / 0.6666 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.5481, allocations: 282 kB / 0.6669 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.5507, allocations: 1.682 MB / 0.6685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5507, allocations: 0 / 0.6685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5507, allocations: 0 / 0.6685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.5507, allocations: 1.031 kB / 0.6685 GB, free: 15.93 MB / 0.5137 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.003293/0.554, allocations: 1.485 MB / 0.6699 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5541, allocations: 12.5 kB / 0.67 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.5564, allocations: 466.7 kB / 0.6704 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.5587, allocations: 1.054 MB / 0.6714 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.5591, allocations: 127.3 kB / 0.6716 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5593, allocations: 83.34 kB / 0.6716 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.5614, allocations: 0.9971 MB / 0.6726 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5614, allocations: 0 / 0.6726 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.5615, allocations: 31.59 kB / 0.6726 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.5616, allocations: 19.5 kB / 0.6727 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.564, allocations: 0.9055 MB / 0.6735 GB, free: 13.34 MB / 0.5137 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.007291/0.5713, allocations: 4.919 MB / 0.6783 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.5749, allocations: 0.9041 MB / 0.6792 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.5756, allocations: 0.9001 MB / 0.6801 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5757, allocations: 37.98 kB / 0.6801 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.5757, allocations: 1.031 kB / 0.6801 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.00771/0.5834, allocations: 1.941 MB / 0.682 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.5835, allocations: 61.42 kB / 0.6821 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.5852, allocations: 1.061 MB / 0.6831 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/0.5853, allocations: 42.56 kB / 0.6832 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.5858, allocations: 0.5247 MB / 0.6837 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.5859, allocations: 149.8 kB / 0.6838 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.586, allocations: 10.75 kB / 0.6838 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5861, allocations: 329 kB / 0.6842 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.587, allocations: 323.4 kB / 0.6845 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5881, allocations: 0.513 MB / 0.685 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.589, allocations: 364 kB / 0.6853 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5891, allocations: 1.406 kB / 0.6853 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003771/0.5928, allocations: 1.213 MB / 0.6865 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006416/0.5935, allocations: 1.665 MB / 0.6881 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5935, allocations: 5.078 kB / 0.6881 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.5948, allocations: 334.5 kB / 0.6884 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.5954, allocations: 130.7 kB / 0.6886 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.5969, allocations: 0.9363 MB / 0.6895 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5984, allocations: 201.2 kB / 0.6897 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.5985, allocations: 28.81 kB / 0.6897 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5985, allocations: 5.109 kB / 0.6897 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003384/0.6019, allocations: 1.082 MB / 0.6908 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.6019, allocations: 4.047 kB / 0.6908 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.6031, allocations: 317.6 kB / 0.6911 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.6036, allocations: 127.4 kB / 0.6912 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.605, allocations: 0.9423 MB / 0.6921 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.6065, allocations: 171.1 kB / 0.6923 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/0.6066, allocations: 28.59 kB / 0.6923 GB, free: 1.797 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0008683/0.6075, allocations: 345.6 kB / 0.6926 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.6078, allocations: 114.8 kB / 0.6927 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.6105, allocations: 0.98 MB / 0.6937 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.6105, allocations: 10.59 kB / 0.6937 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6106, allocations: 1.062 kB / 0.6937 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6106, allocations: 2.766 kB / 0.6937 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/0.6163, allocations: 2.277 MB / 0.6959 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6164, allocations: 2.312 kB / 0.6959 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.6167, allocations: 64.89 kB / 0.696 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.6178, allocations: 330.4 kB / 0.6963 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.6178, allocations: 16.61 kB / 0.6963 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.6193, allocations: 0.9582 MB / 0.6973 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6193, allocations: 6 kB / 0.6973 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.6231, allocations: 1.368 MB / 0.6986 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.6238, allocations: 290 kB / 0.6989 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.624, allocations: 12.8 kB / 0.6989 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.6249, allocations: 117 kB / 0.699 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.625, allocations: 35.25 kB / 0.699 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.625, allocations: 23.31 kB / 0.6991 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001268/0.6263, allocations: 0.7576 MB / 0.6998 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6263, allocations: 0 / 0.6998 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001697/0.628, allocations: 0.5646 MB / 0.7004 GB, free: 13.89 MB / 0.5294 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 (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.0007493/0.6288, allocations: 397.9 kB / 0.7007 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.6319, allocations: 1.154 MB / 0.7019 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6319, allocations: 1.312 kB / 0.7019 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.6329, allocations: 371.2 kB / 0.7022 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.6353, allocations: 498.5 kB / 0.7027 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.6408, allocations: 2.49 MB / 0.7051 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.6415, allocations: 1.088 MB / 0.7062 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001206/0.6427, allocations: 221.2 kB / 0.7064 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.6429, allocations: 79.94 kB / 0.7065 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/0.643, allocations: 0 / 0.7065 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.04089/0.6839, allocations: 23.49 MB / 0.7294 GB, free: 3.781 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: