Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.00124/0.00124, 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.001538/0.001538, allocations: 213.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.9738/0.9738, allocations: 230.6 MB / 256 MB, free: 9.594 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.7998/0.7998, allocations: 203.5 MB / 0.5039 GB, free: 10.68 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.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.0009289/0.0009289, allocations: 66.77 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5683, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002278/0.5706, allocations: 1.935 MB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.5722, allocations: 1.311 MB / 0.8206 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.5723, allocations: 6 kB / 0.8206 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.5728, allocations: 235.8 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009312/0.5738, allocations: 451 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 1.047e-05/0.5738, allocations: 7.156 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.5742, allocations: 395.2 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.389e-05/0.5742, allocations: 11.98 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.5744, allocations: 143.3 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.5746, allocations: 199 kB / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.5746, allocations: 23.56 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.5751, allocations: 280.9 kB / 0.8222 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.5755, allocations: 392.5 kB / 0.8226 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.5758, allocations: 333.4 kB / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.5769, allocations: 1.172 MB / 0.8241 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5769, allocations: 0.6562 kB / 0.8241 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5769, allocations: 4 kB / 0.8241 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.5769, allocations: 1.281 kB / 0.8241 GB, free: 13.72 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.001244/0.5782, allocations: 1.181 MB / 0.8252 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5782, allocations: 10.14 kB / 0.8252 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.5783, allocations: 55.48 kB / 0.8253 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.5787, allocations: 155.1 kB / 0.8254 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.5822, allocations: 4.219 MB / 0.8296 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.5823, allocations: 19.12 kB / 0.8296 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.5823, allocations: 13.25 kB / 0.8296 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.5829, allocations: 0.633 MB / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5829, allocations: 0 / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.583, allocations: 5.75 kB / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.583, allocations: 8.438 kB / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5841, allocations: 1.101 MB / 0.8313 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.5871, allocations: 3.003 MB / 0.8342 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.5876, allocations: 334 kB / 0.8345 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.5879, allocations: 227.1 kB / 0.8348 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.588, allocations: 26.12 kB / 0.8348 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.588, allocations: 34.09 kB / 0.8348 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/0.588, allocations: 0 / 0.8348 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009769/0.589, allocations: 0.7164 MB / 0.8355 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.589, allocations: 61.83 kB / 0.8356 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006174/0.5952, allocations: 6.503 MB / 0.8419 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5952, allocations: 30.92 kB / 0.842 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.5955, allocations: 427.2 kB / 0.8424 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.5955, allocations: 64.44 kB / 0.8424 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.5956, allocations: 56.78 kB / 0.8425 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5957, allocations: 316.8 kB / 0.8428 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.5964, allocations: 0.5289 MB / 0.8433 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.597, allocations: 0.5537 MB / 0.8438 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.5978, allocations: 0.7685 MB / 0.8446 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5978, allocations: 0 / 0.8446 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001673/0.5995, allocations: 1.238 MB / 0.8458 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5995, allocations: 5.938 kB / 0.8458 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5995, allocations: 3.938 kB / 0.8458 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.5995, allocations: 1.438 kB / 0.8458 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.5997, allocations: 68.39 kB / 0.8459 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.5998, allocations: 2.281 kB / 0.8459 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.6, allocations: 42.73 kB / 0.8459 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.6, allocations: 12.77 kB / 0.8459 GB, free: 4.914 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.0002384/0.6003, allocations: 286.7 kB / 0.8462 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6004, allocations: 100.2 kB / 0.8463 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.601, allocations: 0.5535 MB / 0.8468 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.601, allocations: 2.719 kB / 0.8468 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.601, allocations: 4 kB / 0.8469 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.601, allocations: 1.562 kB / 0.8469 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.6036, allocations: 2.668 MB / 0.8495 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6036, allocations: 4.812 kB / 0.8495 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.6038, allocations: 55.73 kB / 0.8495 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6038, allocations: 5.281 kB / 0.8495 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.6038, allocations: 7.656 kB / 0.8495 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.6038, allocations: 9.375 kB / 0.8495 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6038, allocations: 8.594 kB / 0.8495 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.6046, allocations: 0.6833 MB / 0.8502 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6048, allocations: 182.4 kB / 0.8504 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.6048, allocations: 10.52 kB / 0.8504 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.605, allocations: 31.73 kB / 0.8504 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.6051, allocations: 33.89 kB / 0.8505 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.6051, allocations: 10.72 kB / 0.8505 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003471/0.6086, allocations: 5.156 MB / 0.8555 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6086, allocations: 0 / 0.8555 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005785/0.6092, allocations: 195.8 kB / 0.8557 GB, free: 14.43 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.001295/0.6105, allocations: 1.291 MB / 0.857 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006589/0.6111, allocations: 0.7666 MB / 0.8577 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6111, allocations: 4 kB / 0.8577 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.6113, allocations: 219.7 kB / 0.8579 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.6119, allocations: 193.3 kB / 0.8581 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.6276, allocations: 22.94 MB / 0.8805 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6279, allocations: 403.2 kB / 0.8809 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.6281, allocations: 149.4 kB / 0.881 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.6284, allocations: 299.3 kB / 0.8813 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/0.6284, allocations: 4 kB / 0.8813 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.6649, allocations: 25.65 MB / 0.9064 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.729, allocations: 7.078 kB / 0.9064 GB, free: 10.5 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.734200363978744] Failed to read output from testmodel.py, exit status != 0: 7.814881037455052 7.824027501 7.245283889 Calling exit ...