Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.000738/0.000738, 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.0008147/0.0008147, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9698/0.9698, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7846/0.7846, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.0009324/0.0009324, allocations: 72.64 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5718, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002543/0.5744, allocations: 2.063 MB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.5762, allocations: 1.309 MB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.5763, allocations: 2.875 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.5769, allocations: 244.7 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.5778, allocations: 442.1 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.913e-06/0.5778, allocations: 0 / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.5781, allocations: 393.9 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.5782, allocations: 10.97 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.5783, allocations: 148.8 kB / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.5785, allocations: 204.8 kB / 0.8221 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.5785, allocations: 21.81 kB / 0.8221 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.5789, allocations: 279.5 kB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.5793, allocations: 390.2 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.5795, allocations: 337.1 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.5809, allocations: 1.176 MB / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5809, allocations: 0 / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5809, allocations: 2.016 kB / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.5809, allocations: 0 / 0.8242 GB, free: 13.64 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001632/0.5826, allocations: 1.189 MB / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5826, allocations: 9.25 kB / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.5827, allocations: 49.52 kB / 0.8254 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.5831, allocations: 146 kB / 0.8256 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.587, allocations: 4.223 MB / 0.8297 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.587, allocations: 10.78 kB / 0.8297 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.587, allocations: 13.84 kB / 0.8297 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.5877, allocations: 0.6358 MB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5877, allocations: 1.188 kB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.5878, allocations: 5.094 kB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.5878, allocations: 4.719 kB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.5889, allocations: 1.105 MB / 0.8314 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.5921, allocations: 3.006 MB / 0.8343 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.5927, allocations: 338.1 kB / 0.8347 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.5929, allocations: 218.2 kB / 0.8349 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.593, allocations: 30.58 kB / 0.8349 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.5933, allocations: 33.72 kB / 0.8349 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.5933, allocations: 0 / 0.8349 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001022/0.5943, allocations: 0.7241 MB / 0.8356 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5944, allocations: 62.17 kB / 0.8357 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/0.6006, allocations: 6.499 MB / 0.8421 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6007, allocations: 33.7 kB / 0.8421 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.6009, allocations: 416 kB / 0.8425 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.6009, allocations: 71.33 kB / 0.8426 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.601, allocations: 58.09 kB / 0.8426 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.6011, allocations: 316.5 kB / 0.8429 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.6015, allocations: 0.5293 MB / 0.8434 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.602, allocations: 0.5501 MB / 0.844 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.6027, allocations: 0.7758 MB / 0.8447 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6027, allocations: 0 / 0.8447 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001175/0.6039, allocations: 1.234 MB / 0.8459 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6039, allocations: 9.156 kB / 0.8459 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6039, allocations: 0 / 0.8459 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.604, allocations: 2.469 kB / 0.8459 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6041, allocations: 60.05 kB / 0.846 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6042, allocations: 5.125 kB / 0.846 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.6044, allocations: 44.55 kB / 0.846 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6044, allocations: 11.08 kB / 0.8461 GB, free: 4.836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.6047, allocations: 283.2 kB / 0.8463 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6048, allocations: 99.8 kB / 0.8464 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.6055, allocations: 0.5647 MB / 0.847 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6055, allocations: 2.188 kB / 0.847 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6055, allocations: 0 / 0.847 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6055, allocations: 1.281 kB / 0.847 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.6082, allocations: 2.673 MB / 0.8496 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6082, allocations: 3.594 kB / 0.8496 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.6083, allocations: 52.86 kB / 0.8496 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6083, allocations: 5.125 kB / 0.8496 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.6083, allocations: 11.94 kB / 0.8497 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6083, allocations: 4.5 kB / 0.8497 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.6084, allocations: 13.7 kB / 0.8497 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.609, allocations: 0.6752 MB / 0.8503 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.6092, allocations: 186.7 kB / 0.8505 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.6093, allocations: 6.531 kB / 0.8505 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.6095, allocations: 27.08 kB / 0.8505 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6095, allocations: 34.81 kB / 0.8506 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.6095, allocations: 9.969 kB / 0.8506 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003782/0.6133, allocations: 5.156 MB / 0.8556 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6133, allocations: 0 / 0.8556 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005773/0.6139, allocations: 195.8 kB / 0.8558 GB, free: 14.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000975/0.6149, allocations: 1.296 MB / 0.8571 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006852/0.6156, allocations: 0.7612 MB / 0.8578 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6156, allocations: 4 kB / 0.8578 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.6158, allocations: 223.7 kB / 0.858 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.6164, allocations: 192.3 kB / 0.8582 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.633, allocations: 22.95 MB / 0.8806 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.6333, allocations: 407.2 kB / 0.881 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002616/0.6335, allocations: 145.4 kB / 0.8811 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.6338, allocations: 295.3 kB / 0.8814 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/0.6338, allocations: 7.938 kB / 0.8814 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.6805, allocations: 25.66 MB / 0.9065 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.826, allocations: 3.938 kB / 0.9065 GB, free: 10.4 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.759110899176449] Failed to read output from testmodel.py, exit status != 0: 7.910824211779982 7.918908113 7.336320045 Calling exit ...