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.001117/0.001117, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001459/0.001459, allocations: 168.7 kB / 15.95 MB, free: 204 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.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.148/1.148, allocations: 143.4 MB / 434.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.000498, allocations: 12 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 83.42 MB / 0.5975 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4456/0.7361, allocations: 65.06 MB / 0.6611 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.7584, allocations: 17.7 MB / 0.6784 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.761, allocations: 63.34 kB / 0.6784 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.7633, allocations: 0.5231 MB / 0.6789 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007767/0.7711, allocations: 2.103 MB / 0.681 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.7756, allocations: 1.086 MB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007887/0.7835, allocations: 4.386 MB / 0.6863 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.7858, allocations: 1.021 MB / 0.6873 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.7897, allocations: 1.334 MB / 0.6886 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.7923, allocations: 1.036 MB / 0.6896 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004186/0.7928, allocations: 57.75 kB / 0.6897 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.7965, allocations: 0.9095 MB / 0.6906 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.7972, allocations: 250.2 kB / 0.6908 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.7982, allocations: 367 kB / 0.6912 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.8031, allocations: 2.445 MB / 0.6936 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.8032, allocations: 5.562 kB / 0.6936 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.418e-06/0.8032, allocations: 0 / 0.6936 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001273/0.8033, allocations: 0 / 0.6936 GB, free: 15.06 MB / 0.5294 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.005116/0.8084, allocations: 1.731 MB / 0.6953 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8085, allocations: 8.531 kB / 0.6953 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005641/0.8091, allocations: 154.6 kB / 0.6954 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.8117, allocations: 0.5001 MB / 0.6959 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.8159, allocations: 1.464 MB / 0.6973 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/0.8164, allocations: 148.6 kB / 0.6975 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.8167, allocations: 107.7 kB / 0.6976 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.8205, allocations: 1.313 MB / 0.6989 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.8205, allocations: 5.219 kB / 0.6989 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.8207, allocations: 47.02 kB / 0.6989 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.8208, allocations: 25.44 kB / 0.6989 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.8244, allocations: 1.154 MB / 0.7001 GB, free: 11.59 MB / 0.5294 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.01265/0.8371, allocations: 7.194 MB / 0.7071 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.8407, allocations: 0.8884 MB / 0.708 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.8415, allocations: 299.5 kB / 0.7082 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.8434, allocations: 1.719 MB / 0.7099 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/0.8435, allocations: 37.53 kB / 0.71 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 4.088e-06/0.8435, allocations: 5.219 kB / 0.71 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.006093/0.8496, allocations: 1.447 MB / 0.7114 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.8497, allocations: 60.67 kB / 0.7114 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004792/0.8545, allocations: 1.529 MB / 0.7129 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.8546, allocations: 33.23 kB / 0.713 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008845/0.8555, allocations: 0.6646 MB / 0.7136 GB, free: 348 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.8558, allocations: 167.5 kB / 0.7138 GB, free: 200 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.8559, allocations: 14.88 kB / 0.7138 GB, free: 188 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.8561, allocations: 339.9 kB / 0.7141 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.8574, allocations: 384.8 kB / 0.7145 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.8589, allocations: 0.6548 MB / 0.7151 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.8602, allocations: 445.9 kB / 0.7155 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.8602, allocations: 2.5 kB / 0.7155 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003896/0.8641, allocations: 1.212 MB / 0.7167 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.8642, allocations: 7.688 kB / 0.7167 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.8642, allocations: 6.844 kB / 0.7167 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.8653, allocations: 233.3 kB / 0.717 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/0.8662, allocations: 198 kB / 0.7171 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.8673, allocations: 0.7291 MB / 0.7179 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.8697, allocations: 269.4 kB / 0.7181 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.8698, allocations: 38.55 kB / 0.7182 GB, free: 13.37 MB / 0.545 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.001139/0.871, allocations: 353.5 kB / 0.7185 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/0.8715, allocations: 145.6 kB / 0.7186 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.8746, allocations: 1.185 MB / 0.7198 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.8746, allocations: 14.27 kB / 0.7198 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.8746, allocations: 3.953 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.8747, allocations: 3.984 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/0.8818, allocations: 2.589 MB / 0.7223 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.8819, allocations: 1.375 kB / 0.7223 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.8823, allocations: 90.55 kB / 0.7224 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/0.8832, allocations: 230.5 kB / 0.7226 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.8833, allocations: 18.89 kB / 0.7227 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.8848, allocations: 0.7998 MB / 0.7234 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8848, allocations: 2.75 kB / 0.7234 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.8884, allocations: 1.278 MB / 0.7247 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.8897, allocations: 378.8 kB / 0.7251 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006049/0.8903, allocations: 16 kB / 0.7251 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.8917, allocations: 107.8 kB / 0.7252 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8918, allocations: 48.45 kB / 0.7252 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.8919, allocations: 23.98 kB / 0.7252 GB, free: 7.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002768/0.8947, allocations: 1.074 MB / 0.7263 GB, free: 6.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8947, allocations: 0 / 0.7263 GB, free: 6.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002432/0.8972, allocations: 435.4 kB / 0.7267 GB, free: 6.375 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 (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.005605/0.9028, allocations: 2.176 MB / 0.7288 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.9053, allocations: 0.8702 MB / 0.7297 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9053, allocations: 0 / 0.7297 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.9067, allocations: 475.5 kB / 0.7301 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/0.9115, allocations: 0.6994 MB / 0.7308 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/0.9477, allocations: 8.969 MB / 0.7396 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/0.9487, allocations: 1.176 MB / 0.7407 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001741/0.9504, allocations: 265.2 kB / 0.741 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/0.9513, allocations: 0.5461 MB / 0.7415 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of SimCode: time 1.924e-06/0.9513, allocations: 0 / 0.7415 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08039/1.032, allocations: 43.3 MB / 0.7838 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.032, allocations: 264.8 kB / 0.784 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/4.406, allocations: 3.938 kB / 0.784 GB, free: 11.73 MB / 0.6075 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: