Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.0007616/0.0007616, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008437/0.0008437, allocations: 217.2 kB / 22.25 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.9177/0.9177, 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.7725/0.7725, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.000895/0.000895, allocations: 75.28 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5086, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1674/0.676, allocations: 189.8 MB / 1.003 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.6862, allocations: 11.27 MB / 1.014 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6875, allocations: 63.38 kB / 1.014 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.6887, allocations: 0.5314 MB / 1.015 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.6927, allocations: 1.914 MB / 1.017 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.6965, allocations: 1.999 MB / 1.019 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.6991, allocations: 2.383 MB / 1.021 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.7002, allocations: 0.8657 MB / 1.022 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/0.705, allocations: 3.17 MB / 1.025 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.706, allocations: 0.6729 MB / 1.025 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.7061, allocations: 95.94 kB / 1.026 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.7096, allocations: 2.057 MB / 1.028 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.7101, allocations: 0.557 MB / 1.028 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.7107, allocations: 0.5872 MB / 1.029 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.7146, allocations: 3.08 MB / 1.032 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7146, allocations: 3.938 kB / 1.032 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.807e-06/0.7147, allocations: 0 / 1.032 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.068e-05/0.7147, allocations: 0 / 1.032 GB, free: 9.965 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001718/0.7164, allocations: 1.717 MB / 1.033 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.7164, allocations: 8.031 kB / 1.033 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.7166, allocations: 176.8 kB / 1.034 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.7176, allocations: 382.6 kB / 1.034 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.7187, allocations: 0.8907 MB / 1.035 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.7187, allocations: 78.05 kB / 1.035 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.7188, allocations: 100 kB / 1.035 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.7203, allocations: 1.988 MB / 1.037 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7203, allocations: 4 kB / 1.037 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.7204, allocations: 55.92 kB / 1.037 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.7205, allocations: 61.58 kB / 1.037 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.7214, allocations: 1.021 MB / 1.038 GB, free: 3.195 MB / 0.8073 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.003805/0.7252, allocations: 4.917 MB / 1.043 GB, free: 14.13 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.7256, allocations: 310.2 kB / 1.043 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.7258, allocations: 227.4 kB / 1.043 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.7261, allocations: 124.2 kB / 1.043 GB, free: 13.44 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7261, allocations: 38.56 kB / 1.043 GB, free: 13.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.7261, allocations: 7.984 kB / 1.043 GB, free: 13.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.0008924/0.727, allocations: 0.6757 MB / 1.044 GB, free: 12.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.727, allocations: 136.5 kB / 1.044 GB, free: 12.54 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.7287, allocations: 1.686 MB / 1.046 GB, free: 10.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.7287, allocations: 33.69 kB / 1.046 GB, free: 10.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.7291, allocations: 0.5623 MB / 1.046 GB, free: 10.24 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.7291, allocations: 95.17 kB / 1.047 GB, free: 10.14 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.7292, allocations: 77.58 kB / 1.047 GB, free: 10.06 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.7293, allocations: 314 kB / 1.047 GB, free: 9.75 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.7295, allocations: 155.9 kB / 1.047 GB, free: 9.598 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.7297, allocations: 428.5 kB / 1.047 GB, free: 9.113 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.7301, allocations: 416.8 kB / 1.048 GB, free: 8.676 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7301, allocations: 0 / 1.048 GB, free: 8.676 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004916/0.7306, allocations: 0.5473 MB / 1.048 GB, free: 8.121 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7306, allocations: 4 kB / 1.048 GB, free: 8.117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7306, allocations: 4 kB / 1.048 GB, free: 8.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.7306, allocations: 4 kB / 1.048 GB, free: 8.109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7307, allocations: 51.92 kB / 1.048 GB, free: 8.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7307, allocations: 3.938 kB / 1.048 GB, free: 8.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.7311, allocations: 122.8 kB / 1.049 GB, free: 7.934 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.7311, allocations: 20 kB / 1.049 GB, free: 7.914 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0003173/0.7314, allocations: 377.6 kB / 1.049 GB, free: 7.535 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.7316, allocations: 147.1 kB / 1.049 GB, free: 7.391 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.732, allocations: 388.9 kB / 1.049 GB, free: 6.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.732, allocations: 4 kB / 1.049 GB, free: 6.984 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.732, allocations: 8 kB / 1.05 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.732, allocations: 0 / 1.05 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.734, allocations: 2.245 MB / 1.052 GB, free: 4.594 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7341, allocations: 4 kB / 1.052 GB, free: 4.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.882e-05/0.7342, allocations: 55.95 kB / 1.052 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.7342, allocations: 8 kB / 1.052 GB, free: 4.527 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7342, allocations: 12 kB / 1.052 GB, free: 4.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.7342, allocations: 15.92 kB / 1.052 GB, free: 4.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7342, allocations: 11.94 kB / 1.052 GB, free: 4.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.7349, allocations: 0.623 MB / 1.052 GB, free: 3.766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.7351, allocations: 230.9 kB / 1.053 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.7352, allocations: 16 kB / 1.053 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.7354, allocations: 12 kB / 1.053 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.7354, allocations: 39.78 kB / 1.053 GB, free: 3.473 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7354, allocations: 19.94 kB / 1.053 GB, free: 3.453 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009679/0.7364, allocations: 1.227 MB / 1.054 GB, free: 2.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.7364, allocations: 0 / 1.054 GB, free: 2.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007217/0.7371, allocations: 335.3 kB / 1.054 GB, free: 1.902 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.001514/0.7386, allocations: 1.655 MB / 1.056 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.739, allocations: 343.5 kB / 1.056 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7391, allocations: 0 / 1.056 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7392, allocations: 161.6 kB / 1.056 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.7413, allocations: 0.911 MB / 1.057 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7516, allocations: 10.51 MB / 1.067 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.7521, allocations: 0.607 MB / 1.068 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007895/0.7529, allocations: 302.7 kB / 1.068 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.7532, allocations: 463.3 kB / 1.069 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of SimCode: time 1.432e-06/0.7532, allocations: 0 / 1.069 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/0.8172, allocations: 48.21 MB / 1.116 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.733, allocations: 13.94 kB / 1.116 GB, free: 2.887 MB / 0.8855 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.597029080148786] Failed to read output from testmodel.py, exit status != 0: 8.831755951046944 8.842449195 8.125501353 Calling exit ...