Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001162/0.001162, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000827/0.000827, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 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 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5805/0.5805, allocations: 114 MB / 373.9 MB, free: 8.746 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.635e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04416/0.04418, allocations: 64.55 MB / 0.6172 GB, free: 2.023 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.0609, allocations: 17.5 MB / 0.6343 GB, free: 492 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.06288, allocations: 95.19 kB / 0.6344 GB, free: 396 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.0646, allocations: 0.8343 MB / 0.6352 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.07045, allocations: 3.092 MB / 0.6382 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.07337, allocations: 1.757 MB / 0.6399 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.07716, allocations: 4.04 MB / 0.6439 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.07851, allocations: 1.084 MB / 0.6449 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.08192, allocations: 2.547 MB / 0.6474 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.08322, allocations: 1.001 MB / 0.6484 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.08345, allocations: 176 kB / 0.6486 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.08529, allocations: 1.161 MB / 0.6497 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.08555, allocations: 418.2 kB / 0.6501 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.0862, allocations: 0.604 MB / 0.6507 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.08951, allocations: 3.144 MB / 0.6538 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.08951, allocations: 4 kB / 0.6538 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.875e-06/0.08952, allocations: 4 kB / 0.6538 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.197e-05/0.08959, allocations: 0 / 0.6538 GB, free: 12.45 MB / 0.6198 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.003061/0.09265, allocations: 1.988 MB / 0.6557 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.09269, allocations: 12.62 kB / 0.6557 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.09282, allocations: 156.3 kB / 0.6559 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.09399, allocations: 450.5 kB / 0.6563 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.09583, allocations: 1.512 MB / 0.6578 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.09588, allocations: 86.03 kB / 0.6579 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.09599, allocations: 100 kB / 0.658 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.09759, allocations: 1.421 MB / 0.6594 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.09761, allocations: 0 / 0.6594 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.09768, allocations: 44 kB / 0.6594 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.09769, allocations: 24 kB / 0.6594 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.09921, allocations: 1.108 MB / 0.6605 GB, free: 5.324 MB / 0.6198 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.004914/0.1041, allocations: 5.613 MB / 0.666 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.1057, allocations: 0.7727 MB / 0.6667 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.106, allocations: 266.2 kB / 0.667 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.1063, allocations: 152.4 kB / 0.6671 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1064, allocations: 46.94 kB / 0.6672 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.1064, allocations: 0 / 0.6672 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002538/0.1089, allocations: 1.262 MB / 0.6684 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1089, allocations: 59.84 kB / 0.6685 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.1104, allocations: 1.561 MB / 0.67 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.1104, allocations: 37.7 kB / 0.67 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1108, allocations: 0.6818 MB / 0.6707 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.1109, allocations: 174.5 kB / 0.6709 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.1111, allocations: 174.5 kB / 0.671 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.1112, allocations: 333.9 kB / 0.6713 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.1119, allocations: 365.8 kB / 0.6717 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.1127, allocations: 0.9921 MB / 0.6727 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1137, allocations: 0.8861 MB / 0.6735 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1137, allocations: 4 kB / 0.6735 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001631/0.1153, allocations: 1.197 MB / 0.6747 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1154, allocations: 11.94 kB / 0.6747 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1154, allocations: 8 kB / 0.6747 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.1159, allocations: 228.6 kB / 0.6749 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.1163, allocations: 187.7 kB / 0.6751 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/0.1168, allocations: 0.7201 MB / 0.6758 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.1175, allocations: 226.9 kB / 0.676 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.1176, allocations: 39.98 kB / 0.6761 GB, free: 4.793 MB / 0.6355 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.00034/0.1179, allocations: 353.6 kB / 0.6764 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.1181, allocations: 155 kB / 0.6766 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.1195, allocations: 1.156 MB / 0.6777 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.1195, allocations: 8 kB / 0.6777 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1195, allocations: 0 / 0.6777 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1195, allocations: 7.984 kB / 0.6777 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.1224, allocations: 2.289 MB / 0.6799 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1224, allocations: 4 kB / 0.6799 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1226, allocations: 83.88 kB / 0.68 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.123, allocations: 208.8 kB / 0.6802 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.123, allocations: 15.98 kB / 0.6802 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2426/0.3656, allocations: 0.7698 MB / 0.681 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3656, allocations: 4.562 kB / 0.681 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3676, allocations: 1.221 MB / 0.6822 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.368, allocations: 274.1 kB / 0.6825 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3681, allocations: 19.88 kB / 0.6825 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.3686, allocations: 71.22 kB / 0.6825 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3686, allocations: 51.25 kB / 0.6826 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.3687, allocations: 24.7 kB / 0.6826 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00101/0.3697, allocations: 1.081 MB / 0.6837 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3697, allocations: 0 / 0.6837 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008464/0.3705, allocations: 450.3 kB / 0.6841 GB, free: 160.9 MB / 0.6355 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.002151/0.3727, allocations: 2.134 MB / 0.6862 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3738, allocations: 0.835 MB / 0.687 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3738, allocations: 2.688 kB / 0.687 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.3744, allocations: 419.5 kB / 0.6874 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.376, allocations: 0.7179 MB / 0.6881 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.387, allocations: 10.53 MB / 0.6984 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3874, allocations: 0.5833 MB / 0.6989 GB, free: 154 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000823/0.3883, allocations: 271.5 kB / 0.6992 GB, free: 154 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.3887, allocations: 0.5472 MB / 0.6997 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.495e-06/0.3887, allocations: 0 / 0.6997 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06366/0.4524, allocations: 46.63 MB / 0.7453 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.857/9.309, allocations: 6.094 kB / 0.7453 GB, free: 133.8 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.947883255779743] Failed to read output from testmodel.py, exit status != 0: 9.423099851235747 9.42866247 9.337666038 Calling exit ...