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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: 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.00107/0.00107, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.013/1.013, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1797, allocations: 83.41 MB / 0.5985 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3993/0.5791, allocations: 59.69 MB / 0.6568 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.5968, allocations: 11.93 MB / 0.6684 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.5991, allocations: 52.78 kB / 0.6685 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.6012, allocations: 0.5436 MB / 0.669 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.6077, allocations: 1.807 MB / 0.6708 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.6114, allocations: 1.073 MB / 0.6718 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.618, allocations: 3.905 MB / 0.6756 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.6204, allocations: 0.9031 MB / 0.6765 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.6242, allocations: 1.121 MB / 0.6776 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.6268, allocations: 0.8427 MB / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.6273, allocations: 40.94 kB / 0.6785 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.6318, allocations: 1.339 MB / 0.6798 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.6325, allocations: 215.6 kB / 0.68 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.6345, allocations: 0.6312 MB / 0.6806 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.6386, allocations: 1.78 MB / 0.6823 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6387, allocations: 1.219 kB / 0.6823 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6387, allocations: 0 / 0.6823 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.445e-05/0.6388, allocations: 0 / 0.6823 GB, free: 6.875 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.004759/0.6435, allocations: 1.496 MB / 0.6838 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6436, allocations: 14.62 kB / 0.6838 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.6464, allocations: 471.3 kB / 0.6843 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.6499, allocations: 1.13 MB / 0.6854 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.6503, allocations: 132.7 kB / 0.6855 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.6506, allocations: 78.62 kB / 0.6856 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.6536, allocations: 1 MB / 0.6866 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6536, allocations: 5.031 kB / 0.6866 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.6538, allocations: 34.09 kB / 0.6866 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.6538, allocations: 18.12 kB / 0.6866 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.6568, allocations: 0.912 MB / 0.6875 GB, free: 4.211 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.009467/0.6662, allocations: 4.9 MB / 0.6923 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.6703, allocations: 0.8935 MB / 0.6932 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008699/0.6712, allocations: 329.7 kB / 0.6935 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.672, allocations: 0.9043 MB / 0.6944 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.6721, allocations: 32.81 kB / 0.6944 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/0.6721, allocations: 1.031 kB / 0.6944 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.008539/0.6806, allocations: 1.951 MB / 0.6963 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.6807, allocations: 60.02 kB / 0.6963 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.6834, allocations: 1.054 MB / 0.6974 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6835, allocations: 34.8 kB / 0.6974 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/0.6841, allocations: 0.5331 MB / 0.6979 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.6843, allocations: 153.5 kB / 0.6981 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6844, allocations: 47.89 kB / 0.6981 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6846, allocations: 329.5 kB / 0.6984 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6856, allocations: 321.7 kB / 0.6987 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.6869, allocations: 0.5322 MB / 0.6993 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.6889, allocations: 0.7315 MB / 0.7 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.6889, allocations: 1.75 kB / 0.7 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004599/0.6935, allocations: 1.208 MB / 0.7012 GB, free: 12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.6937, allocations: 220.2 kB / 0.7014 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.6938, allocations: 8.922 kB / 0.7014 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.6953, allocations: 325 kB / 0.7017 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.6959, allocations: 132.9 kB / 0.7018 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.6977, allocations: 0.9404 MB / 0.7027 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.6995, allocations: 194.5 kB / 0.7029 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.6996, allocations: 27.88 kB / 0.7029 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6996, allocations: 3.969 kB / 0.7029 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003918/0.7036, allocations: 1.066 MB / 0.704 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7036, allocations: 4.406 kB / 0.704 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.7049, allocations: 332.2 kB / 0.7043 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.7055, allocations: 126.4 kB / 0.7044 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.7072, allocations: 0.9403 MB / 0.7053 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.7089, allocations: 163.4 kB / 0.7055 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.709, allocations: 32.28 kB / 0.7055 GB, free: 9.816 MB / 0.5294 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 (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.0008974/0.7099, allocations: 352.7 kB / 0.7059 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.7103, allocations: 111.8 kB / 0.706 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.7133, allocations: 0.9839 MB / 0.7069 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.7133, allocations: 5 kB / 0.7069 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7133, allocations: 0.875 kB / 0.7069 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.7134, allocations: 3.984 kB / 0.7069 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.7202, allocations: 2.264 MB / 0.7092 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.7202, allocations: 1.5 kB / 0.7092 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.7205, allocations: 66.61 kB / 0.7092 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.7218, allocations: 335.5 kB / 0.7095 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.7219, allocations: 23.02 kB / 0.7096 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.7236, allocations: 0.9678 MB / 0.7105 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7236, allocations: 2.375 kB / 0.7105 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.7276, allocations: 1.251 MB / 0.7117 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/0.7285, allocations: 292.5 kB / 0.712 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.7288, allocations: 15.09 kB / 0.712 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7301, allocations: 114.6 kB / 0.7121 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.7302, allocations: 36.14 kB / 0.7122 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.7302, allocations: 21.52 kB / 0.7122 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001595/0.7318, allocations: 0.7466 MB / 0.7129 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7319, allocations: 0 / 0.7129 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002421/0.7343, allocations: 0.5557 MB / 0.7135 GB, free: 4.949 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 (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.001149/0.7354, allocations: 382.4 kB / 0.7138 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.7393, allocations: 1.17 MB / 0.715 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.7393, allocations: 0 / 0.715 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.7403, allocations: 375.7 kB / 0.7153 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.7437, allocations: 0.5065 MB / 0.7158 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.7502, allocations: 2.58 MB / 0.7183 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.7509, allocations: 1.062 MB / 0.7194 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.7513, allocations: 79.42 kB / 0.7195 GB, free: 15.05 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.7513, allocations: 0 / 0.7195 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Templates: time 0.03735/0.7886, allocations: 23.87 MB / 0.7428 GB, free: 7.34 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (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)