Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001002/0.001002, allocations: 100.2 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.0009801/0.0009802, 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 16 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 83.41 MB / 0.5974 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4564/0.646, allocations: 59.12 MB / 0.6551 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.6673, allocations: 15.08 MB / 0.6698 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.6705, allocations: 55.72 kB / 0.6699 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.674, allocations: 0.7072 MB / 0.6706 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.6848, allocations: 2.306 MB / 0.6728 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006703/0.6916, allocations: 1.545 MB / 0.6743 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009786/0.7014, allocations: 2.281 MB / 0.6766 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.7051, allocations: 1.04 MB / 0.6776 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/0.7103, allocations: 1.268 MB / 0.6788 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.7134, allocations: 0.7799 MB / 0.6796 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006248/0.7141, allocations: 57.25 kB / 0.6796 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004738/0.7188, allocations: 0.9824 MB / 0.6806 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.7197, allocations: 240.8 kB / 0.6808 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.7211, allocations: 374.2 kB / 0.6812 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006045/0.7272, allocations: 2.431 MB / 0.6835 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7272, allocations: 0 / 0.6835 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7273, allocations: 0 / 0.6835 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001597/0.7274, allocations: 0 / 0.6835 GB, free: 5.902 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.008423/0.7359, allocations: 1.729 MB / 0.6852 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.174e-05/0.736, allocations: 9.656 kB / 0.6852 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008071/0.7368, allocations: 154.7 kB / 0.6854 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.7401, allocations: 0.4999 MB / 0.6859 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/0.7447, allocations: 1.421 MB / 0.6873 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.7452, allocations: 145.1 kB / 0.6874 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.7455, allocations: 111.4 kB / 0.6875 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.7489, allocations: 1.308 MB / 0.6888 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.749, allocations: 2.828 kB / 0.6888 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.7491, allocations: 42.09 kB / 0.6888 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.7492, allocations: 25.5 kB / 0.6889 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.7526, allocations: 1.149 MB / 0.69 GB, free: 2.461 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.01446/0.7671, allocations: 7.239 MB / 0.697 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.7707, allocations: 0.8968 MB / 0.6979 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.7724, allocations: 1.719 MB / 0.6996 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.7725, allocations: 39.31 kB / 0.6996 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.277e-06/0.7725, allocations: 0 / 0.6996 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005835/0.7783, allocations: 1.441 MB / 0.701 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7784, allocations: 57.09 kB / 0.7011 GB, free: 10 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.7817, allocations: 1.545 MB / 0.7026 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.7819, allocations: 37.92 kB / 0.7026 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/0.7826, allocations: 0.6607 MB / 0.7033 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.7829, allocations: 174.8 kB / 0.7035 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.7829, allocations: 15.53 kB / 0.7035 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7831, allocations: 332.5 kB / 0.7038 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.7842, allocations: 388.2 kB / 0.7042 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.7856, allocations: 0.6517 MB / 0.7048 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7868, allocations: 437.5 kB / 0.7052 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7868, allocations: 6.75 kB / 0.7052 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003519/0.7903, allocations: 1.216 MB / 0.7064 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.7904, allocations: 9.25 kB / 0.7064 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.7904, allocations: 10.88 kB / 0.7064 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.7914, allocations: 230.9 kB / 0.7066 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.7923, allocations: 197.8 kB / 0.7068 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.7933, allocations: 0.7237 MB / 0.7075 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.7955, allocations: 260.9 kB / 0.7078 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.7957, allocations: 46.7 kB / 0.7078 GB, free: 5.625 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009735/0.7966, allocations: 358.2 kB / 0.7082 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.7971, allocations: 143.6 kB / 0.7083 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.7999, allocations: 1.183 MB / 0.7095 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.8, allocations: 10.89 kB / 0.7095 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.8, allocations: 0 / 0.7095 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8, allocations: 7.891 kB / 0.7095 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.8067, allocations: 2.606 MB / 0.712 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.8068, allocations: 2.531 kB / 0.712 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.8072, allocations: 94.72 kB / 0.7121 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000915/0.8081, allocations: 222.9 kB / 0.7123 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.8082, allocations: 18.02 kB / 0.7124 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.8096, allocations: 0.8035 MB / 0.7131 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8097, allocations: 2.344 kB / 0.7131 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.8137, allocations: 1.375 MB / 0.7145 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.815, allocations: 388.8 kB / 0.7149 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.8153, allocations: 11.22 kB / 0.7149 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8163, allocations: 110.1 kB / 0.715 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.8165, allocations: 48.78 kB / 0.715 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.8166, allocations: 28.47 kB / 0.715 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002361/0.8189, allocations: 1.085 MB / 0.7161 GB, free: 108 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8189, allocations: 0 / 0.7161 GB, free: 108 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002125/0.8211, allocations: 437.4 kB / 0.7165 GB, free: 4 kB / 0.5294 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005545/0.8266, allocations: 2.685 MB / 0.7191 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.8292, allocations: 0.8701 MB / 0.72 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.8293, allocations: 0 / 0.72 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.8307, allocations: 471.5 kB / 0.7204 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/0.8352, allocations: 0.6899 MB / 0.7211 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.8469, allocations: 8.489 MB / 0.7294 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8481, allocations: 1.195 MB / 0.7306 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001756/0.8499, allocations: 271 kB / 0.7308 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.8507, allocations: 0.5461 MB / 0.7314 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.8507, allocations: 0 / 0.7314 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08957/0.9403, allocations: 42.83 MB / 0.7732 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.9406, allocations: 271.1 kB / 0.7734 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.775, allocations: 0 / 0.7734 GB, free: 6.352 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: