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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 212.8 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9217/0.9217, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.11 kB / 0.6331 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.173, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4477/0.6207, allocations: 65.01 MB / 0.7824 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.6495, allocations: 17.58 MB / 0.7996 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.6527, allocations: 94.19 kB / 0.7997 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.6556, allocations: 0.8206 MB / 0.8005 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.6659, allocations: 3.036 MB / 0.8034 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.6713, allocations: 1.679 MB / 0.8051 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006449/0.6778, allocations: 4.083 MB / 0.8091 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.68, allocations: 1.134 MB / 0.8102 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.6845, allocations: 1.866 MB / 0.812 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.6869, allocations: 1.172 MB / 0.8131 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.6874, allocations: 173.5 kB / 0.8133 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.6905, allocations: 1.16 MB / 0.8144 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005691/0.6911, allocations: 401.9 kB / 0.8148 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.6926, allocations: 0.7113 MB / 0.8155 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.6976, allocations: 3.278 MB / 0.8187 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6976, allocations: 0 / 0.8187 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6976, allocations: 2.156 kB / 0.8187 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.505e-05/0.6976, allocations: 0 / 0.8187 GB, free: 3.305 MB / 0.5919 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.003567/0.7012, allocations: 2.004 MB / 0.8207 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7013, allocations: 11.22 kB / 0.8207 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.7014, allocations: 156.5 kB / 0.8208 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.7036, allocations: 453.9 kB / 0.8213 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.7065, allocations: 1.524 MB / 0.8227 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.7065, allocations: 77.94 kB / 0.8228 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7067, allocations: 102.2 kB / 0.8229 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.7092, allocations: 1.414 MB / 0.8243 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.7092, allocations: 7.875 kB / 0.8243 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.7093, allocations: 43.03 kB / 0.8243 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7093, allocations: 26.09 kB / 0.8244 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.7119, allocations: 1.1 MB / 0.8254 GB, free: 14.55 MB / 0.6075 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.008607/0.7205, allocations: 5.641 MB / 0.831 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.7237, allocations: 0.7715 MB / 0.8317 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.7243, allocations: 262 kB / 0.832 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.7249, allocations: 160.3 kB / 0.8321 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.7249, allocations: 43 kB / 0.8322 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.365e-06/0.7249, allocations: 4 kB / 0.8322 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005088/0.73, allocations: 1.264 MB / 0.8334 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.73, allocations: 55.84 kB / 0.8334 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.7326, allocations: 1.557 MB / 0.835 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.7327, allocations: 37.7 kB / 0.835 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/0.7334, allocations: 0.6857 MB / 0.8357 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.7336, allocations: 178.5 kB / 0.8358 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.7339, allocations: 174.5 kB / 0.836 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7341, allocations: 334 kB / 0.8363 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.7351, allocations: 369.8 kB / 0.8367 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.7366, allocations: 0.9808 MB / 0.8376 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.7385, allocations: 0.8869 MB / 0.8385 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7385, allocations: 3.938 kB / 0.8385 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003382/0.7419, allocations: 1.197 MB / 0.8397 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.7419, allocations: 11.98 kB / 0.8397 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.7419, allocations: 8 kB / 0.8397 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009373/0.7429, allocations: 224.6 kB / 0.8399 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.7437, allocations: 191.7 kB / 0.8401 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009915/0.7446, allocations: 0.7239 MB / 0.8408 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.7464, allocations: 211 kB / 0.841 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.7465, allocations: 51.97 kB / 0.8411 GB, free: 14.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006574/0.7472, allocations: 350.3 kB / 0.8414 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.7475, allocations: 163 kB / 0.8415 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.75, allocations: 1.145 MB / 0.8427 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.75, allocations: 8 kB / 0.8427 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.75, allocations: 7.984 kB / 0.8427 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7501, allocations: 0 / 0.8427 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.7555, allocations: 2.296 MB / 0.8449 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.7555, allocations: 4 kB / 0.8449 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.7559, allocations: 79.89 kB / 0.845 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/0.7567, allocations: 216.8 kB / 0.8452 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.7567, allocations: 19.92 kB / 0.8452 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.7581, allocations: 0.7708 MB / 0.846 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7581, allocations: 4.031 kB / 0.846 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.7617, allocations: 1.223 MB / 0.8472 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.7624, allocations: 294.5 kB / 0.8475 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.7626, allocations: 16 kB / 0.8475 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.7635, allocations: 75.91 kB / 0.8475 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.7636, allocations: 48.36 kB / 0.8476 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.7636, allocations: 23.98 kB / 0.8476 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001854/0.7655, allocations: 1.082 MB / 0.8487 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7655, allocations: 0 / 0.8487 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001363/0.7668, allocations: 451.1 kB / 0.8491 GB, free: 5.836 MB / 0.6231 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 (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.004507/0.7713, allocations: 2.131 MB / 0.8512 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.7736, allocations: 0.8286 MB / 0.852 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7736, allocations: 192 / 0.852 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.775, allocations: 427.3 kB / 0.8524 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/0.7783, allocations: 0.7479 MB / 0.8531 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.7976, allocations: 10.5 MB / 0.8634 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.7983, allocations: 0.5875 MB / 0.864 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001246/0.7996, allocations: 263.3 kB / 0.8642 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/0.8004, allocations: 0.5461 MB / 0.8647 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of SimCode: time 1.273e-06/0.8004, allocations: 0 / 0.8647 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09535/0.8957, allocations: 47.32 MB / 0.9109 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.88, allocations: 3.266 kB / 0.9109 GB, free: 6.812 MB / 0.6856 GB " [Timeout remaining time 645] (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/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.72618743684143] Failed to read output from testmodel.py, exit status != 0: 15.027165957726538 15.042895536 14.341949575 Calling exit ...