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.001391/0.001391, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001522/0.001522, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9259/0.9259, allocations: 145 MB / 458.2 MB, free: 15.28 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="cs",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="cs",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.002343/0.002343, allocations: 65.47 kB / 0.6338 GB, free: 6.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1824, allocations: 87.88 MB / 0.7197 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4244/0.6069, allocations: 64.95 MB / 0.7831 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.6337, allocations: 17.55 MB / 0.8002 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/0.6373, allocations: 95 kB / 0.8003 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.6402, allocations: 0.8238 MB / 0.8011 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00971/0.6499, allocations: 3.037 MB / 0.8041 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.655, allocations: 1.705 MB / 0.8058 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007384/0.6624, allocations: 4.098 MB / 0.8098 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.6648, allocations: 1.152 MB / 0.8109 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005321/0.6701, allocations: 1.867 MB / 0.8127 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.6728, allocations: 1.237 MB / 0.8139 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.6732, allocations: 175.7 kB / 0.8141 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.6764, allocations: 1.188 MB / 0.8152 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00054/0.6769, allocations: 402.7 kB / 0.8156 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.6784, allocations: 0.7181 MB / 0.8163 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005659/0.684, allocations: 3.282 MB / 0.8195 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.684, allocations: 0 / 0.8195 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.684, allocations: 3.938 kB / 0.8195 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.084e-05/0.6841, allocations: 0 / 0.8195 GB, free: 3.234 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.004235/0.6883, allocations: 2.01 MB / 0.8215 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6884, allocations: 9.719 kB / 0.8215 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.744e-05/0.6884, allocations: 27.62 kB / 0.8215 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.6886, allocations: 154 kB / 0.8217 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.6909, allocations: 463.3 kB / 0.8221 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.6943, allocations: 1.51 MB / 0.8236 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.6944, allocations: 77.44 kB / 0.8237 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.6946, allocations: 101.9 kB / 0.8238 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6976, allocations: 1.416 MB / 0.8252 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.6976, allocations: 2.969 kB / 0.8252 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.6977, allocations: 40.53 kB / 0.8252 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.6977, allocations: 26.09 kB / 0.8252 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.7003, allocations: 1.113 MB / 0.8263 GB, free: 14.48 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.009306/0.7096, allocations: 5.643 MB / 0.8318 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.7128, allocations: 0.7733 MB / 0.8326 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.7134, allocations: 258 kB / 0.8328 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/0.7139, allocations: 156.3 kB / 0.833 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.714, allocations: 50.92 kB / 0.833 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.444e-06/0.714, allocations: 3.938 kB / 0.833 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004901/0.7189, allocations: 1.264 MB / 0.8343 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7189, allocations: 59.84 kB / 0.8343 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.7215, allocations: 1.546 MB / 0.8358 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.7216, allocations: 41.64 kB / 0.8359 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.7223, allocations: 0.6779 MB / 0.8365 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.7225, allocations: 178.5 kB / 0.8367 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.7228, allocations: 170.5 kB / 0.8369 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.723, allocations: 337.9 kB / 0.8372 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.724, allocations: 365.8 kB / 0.8375 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.7255, allocations: 0.9956 MB / 0.8385 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.7273, allocations: 0.8779 MB / 0.8394 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7273, allocations: 4 kB / 0.8394 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003174/0.7305, allocations: 1.197 MB / 0.8405 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.7305, allocations: 8 kB / 0.8405 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.7306, allocations: 8.031 kB / 0.8405 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/0.7315, allocations: 228.5 kB / 0.8408 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/0.7322, allocations: 199.7 kB / 0.841 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.7332, allocations: 0.7168 MB / 0.8417 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.7348, allocations: 215.1 kB / 0.8419 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.7349, allocations: 43.97 kB / 0.8419 GB, free: 14.19 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.0006292/0.7355, allocations: 357.5 kB / 0.8422 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.7358, allocations: 159 kB / 0.8424 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.7383, allocations: 1.146 MB / 0.8435 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.7383, allocations: 15.98 kB / 0.8435 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7383, allocations: 0 / 0.8435 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.7384, allocations: 0 / 0.8435 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/0.7436, allocations: 2.308 MB / 0.8458 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7436, allocations: 0 / 0.8458 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.744, allocations: 83.88 kB / 0.8459 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.7448, allocations: 216.8 kB / 0.8461 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.7448, allocations: 20 kB / 0.8461 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.7462, allocations: 0.7747 MB / 0.8468 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7462, allocations: 3.938 kB / 0.8468 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.7497, allocations: 1.226 MB / 0.848 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/0.7505, allocations: 286.8 kB / 0.8483 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.7507, allocations: 12 kB / 0.8483 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.7516, allocations: 75.86 kB / 0.8484 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7517, allocations: 40.42 kB / 0.8484 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.7517, allocations: 27.97 kB / 0.8485 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001952/0.7537, allocations: 1.086 MB / 0.8495 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7537, allocations: 0 / 0.8495 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001837/0.7555, allocations: 451.1 kB / 0.85 GB, free: 5.781 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.004984/0.7605, allocations: 2.149 MB / 0.8521 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.7629, allocations: 0.8286 MB / 0.8529 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7629, allocations: 0 / 0.8529 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.7642, allocations: 427.3 kB / 0.8533 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.7678, allocations: 0.7501 MB / 0.854 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.7863, allocations: 10.5 MB / 0.8643 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.7869, allocations: 0.5836 MB / 0.8648 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001065/0.788, allocations: 271.3 kB / 0.8651 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/0.7888, allocations: 0.5461 MB / 0.8656 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/0.7888, allocations: 0 / 0.8656 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08746/0.8763, allocations: 46.95 MB / 0.9115 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.93, allocations: 4 kB / 0.9115 GB, free: 7.129 MB / 0.6856 GB " [Timeout remaining time 643] (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: 20.778444034978747] Failed to read output from testmodel.py, exit status != 0: 17.139397525927052 17.170845956 16.480909439 Calling exit ...