Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000745/0.000745, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.000794/0.000794, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9202/0.9202, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7742/0.7742, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009586/0.0009586, allocations: 67.97 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4956, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05534/0.5509, allocations: 65.14 MB / 0.8814 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.5696, allocations: 17.56 MB / 0.8985 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.5723, allocations: 95.19 kB / 0.8986 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.5742, allocations: 0.8228 MB / 0.8994 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.5818, allocations: 3.025 MB / 0.9024 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.5855, allocations: 1.716 MB / 0.9041 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004694/0.5902, allocations: 4.069 MB / 0.908 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.592, allocations: 1.138 MB / 0.9092 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.5953, allocations: 2.002 MB / 0.9111 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5968, allocations: 1.139 MB / 0.9122 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.597, allocations: 176 kB / 0.9124 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.599, allocations: 1.154 MB / 0.9135 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.5992, allocations: 398.5 kB / 0.9139 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007371/0.6, allocations: 0.7233 MB / 0.9146 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.6039, allocations: 3.109 MB / 0.9176 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6039, allocations: 0 / 0.9176 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6039, allocations: 0 / 0.9176 GB, free: 15.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.6039, allocations: 0 / 0.9176 GB, free: 15.16 MB / 0.698 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.002722/0.6067, allocations: 2.004 MB / 0.9196 GB, free: 13.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6067, allocations: 19.91 kB / 0.9196 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.6068, allocations: 152.6 kB / 0.9198 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6081, allocations: 455.2 kB / 0.9202 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.6101, allocations: 1.523 MB / 0.9217 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.6101, allocations: 85.97 kB / 0.9218 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.6102, allocations: 100 kB / 0.9219 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.6121, allocations: 1.421 MB / 0.9232 GB, free: 9.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6121, allocations: 3.938 kB / 0.9233 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.6122, allocations: 44 kB / 0.9233 GB, free: 9.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.6122, allocations: 24 kB / 0.9233 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.6138, allocations: 1.101 MB / 0.9244 GB, free: 8.008 MB / 0.698 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.005452/0.6193, allocations: 5.617 MB / 0.9299 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.621, allocations: 0.767 MB / 0.9306 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.6214, allocations: 270 kB / 0.9309 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.6217, allocations: 160.3 kB / 0.931 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6217, allocations: 50.94 kB / 0.9311 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.715e-06/0.6217, allocations: 0 / 0.9311 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002655/0.6244, allocations: 1.26 MB / 0.9323 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.6244, allocations: 59.84 kB / 0.9324 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.626, allocations: 1.569 MB / 0.9339 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6261, allocations: 37.7 kB / 0.9339 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.6265, allocations: 0.678 MB / 0.9346 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.6266, allocations: 182.5 kB / 0.9348 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6268, allocations: 174.4 kB / 0.9349 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.6269, allocations: 337.9 kB / 0.9353 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.6274, allocations: 369.8 kB / 0.9356 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6284, allocations: 0.9845 MB / 0.9366 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6295, allocations: 0.8935 MB / 0.9375 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6295, allocations: 0 / 0.9375 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001648/0.6311, allocations: 1.193 MB / 0.9386 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6312, allocations: 8 kB / 0.9386 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6312, allocations: 8 kB / 0.9386 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.6317, allocations: 220.7 kB / 0.9388 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.6321, allocations: 195.7 kB / 0.939 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/0.6327, allocations: 0.7201 MB / 0.9397 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.6334, allocations: 211.1 kB / 0.9399 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.6335, allocations: 43.98 kB / 0.94 GB, free: 7.453 MB / 0.7136 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.0003864/0.6339, allocations: 362.4 kB / 0.9403 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.634, allocations: 159 kB / 0.9405 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.6355, allocations: 1.155 MB / 0.9416 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6355, allocations: 15.98 kB / 0.9416 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6355, allocations: 4 kB / 0.9416 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6355, allocations: 3.984 kB / 0.9416 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.6386, allocations: 2.296 MB / 0.9439 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6386, allocations: 0 / 0.9439 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.6388, allocations: 83.89 kB / 0.9439 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.6393, allocations: 212.8 kB / 0.9441 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.6393, allocations: 20.08 kB / 0.9442 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/0.64, allocations: 0.7785 MB / 0.9449 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.64, allocations: 0 / 0.9449 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.6418, allocations: 1.219 MB / 0.9461 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.6422, allocations: 286.6 kB / 0.9464 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6423, allocations: 15.94 kB / 0.9464 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.6427, allocations: 67.92 kB / 0.9465 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.6428, allocations: 44.42 kB / 0.9465 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.6428, allocations: 27.98 kB / 0.9465 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001133/0.6439, allocations: 1.09 MB / 0.9476 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.6439, allocations: 3.938 kB / 0.9476 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009471/0.6449, allocations: 443.1 kB / 0.948 GB, free: 15.06 MB / 0.7292 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.002711/0.6476, allocations: 2.122 MB / 0.9501 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.649, allocations: 0.8363 MB / 0.9509 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.649, allocations: 0 / 0.9509 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.6497, allocations: 419.4 kB / 0.9513 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6519, allocations: 0.7455 MB / 0.952 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.6644, allocations: 10.52 MB / 0.9623 GB, free: 36 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6648, allocations: 0.5877 MB / 0.9629 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007608/0.6655, allocations: 264.2 kB / 0.9631 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.666, allocations: 0.5422 MB / 0.9637 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/0.666, allocations: 0 / 0.9637 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05526/0.7213, allocations: 46.96 MB / 1.01 GB, free: 252 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.686/9.407, allocations: 5.938 kB / 1.01 GB, free: 248 kB / 0.7761 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.302390288095921] Failed to read output from testmodel.py, exit status != 0: 9.515551534015685 9.525306036 8.919521088 Calling exit ...