Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_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.0007574/0.0007574, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001284/0.001284, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9282/0.9282, 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.7705/0.7705, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_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.001003/0.001003, allocations: 75.83 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.491, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1661/0.6571, allocations: 189.8 MB / 1.003 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009706/0.6668, allocations: 11.28 MB / 1.014 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000615/0.6674, allocations: 67.38 kB / 1.014 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.6683, allocations: 0.5158 MB / 1.015 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.6714, allocations: 1.91 MB / 1.017 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.6745, allocations: 2.013 MB / 1.019 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.6761, allocations: 2.414 MB / 1.021 GB, free: 5.055 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.6769, allocations: 0.8382 MB / 1.022 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.6809, allocations: 3.178 MB / 1.025 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008037/0.6817, allocations: 0.6728 MB / 1.025 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.6818, allocations: 88 kB / 1.026 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.6847, allocations: 2.053 MB / 1.028 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.685, allocations: 0.5492 MB / 1.028 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.6854, allocations: 0.5833 MB / 1.029 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.6879, allocations: 3.06 MB / 1.032 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6879, allocations: 4 kB / 1.032 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6879, allocations: 0 / 1.032 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.6879, allocations: 0 / 1.032 GB, free: 9.973 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001904/0.6898, allocations: 1.702 MB / 1.033 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6899, allocations: 12.03 kB / 1.033 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.69, allocations: 168.6 kB / 1.033 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.691, allocations: 374.7 kB / 1.034 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/0.6919, allocations: 0.8945 MB / 1.035 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.692, allocations: 78.03 kB / 1.035 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.6921, allocations: 96 kB / 1.035 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6935, allocations: 1.968 MB / 1.037 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6936, allocations: 0 / 1.037 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.6936, allocations: 55.94 kB / 1.037 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.6937, allocations: 65.41 kB / 1.037 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.6946, allocations: 1.013 MB / 1.038 GB, free: 3.262 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.003585/0.6982, allocations: 4.893 MB / 1.043 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.6985, allocations: 312.8 kB / 1.043 GB, free: 13.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.6987, allocations: 239.4 kB / 1.043 GB, free: 13.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.6989, allocations: 119.8 kB / 1.043 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.699, allocations: 34.56 kB / 1.043 GB, free: 13.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.699, allocations: 4 kB / 1.043 GB, free: 13.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.0007596/0.6997, allocations: 0.6802 MB / 1.044 GB, free: 12.79 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.6998, allocations: 132.5 kB / 1.044 GB, free: 12.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.701, allocations: 1.658 MB / 1.046 GB, free: 10.96 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.701, allocations: 29.7 kB / 1.046 GB, free: 10.92 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.7016, allocations: 0.5543 MB / 1.046 GB, free: 10.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.7016, allocations: 103.1 kB / 1.046 GB, free: 10.26 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.7017, allocations: 73.78 kB / 1.046 GB, free: 10.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.7018, allocations: 321.9 kB / 1.047 GB, free: 9.863 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7019, allocations: 163.9 kB / 1.047 GB, free: 9.703 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.7021, allocations: 444.3 kB / 1.047 GB, free: 9.195 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.7024, allocations: 429.9 kB / 1.048 GB, free: 8.738 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7025, allocations: 4 kB / 1.048 GB, free: 8.734 MB / 0.823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004587/0.7029, allocations: 0.5667 MB / 1.048 GB, free: 8.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7029, allocations: 4 kB / 1.048 GB, free: 8.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7029, allocations: 4 kB / 1.048 GB, free: 8.152 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7029, allocations: 4 kB / 1.048 GB, free: 8.148 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.7033, allocations: 55.91 kB / 1.048 GB, free: 8.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7033, allocations: 12.19 kB / 1.048 GB, free: 8.082 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.7036, allocations: 115.8 kB / 1.049 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.7036, allocations: 20 kB / 1.049 GB, free: 7.949 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0002884/0.7039, allocations: 385.4 kB / 1.049 GB, free: 7.562 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.704, allocations: 147 kB / 1.049 GB, free: 7.418 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.7043, allocations: 372.7 kB / 1.049 GB, free: 7.027 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7043, allocations: 4 kB / 1.049 GB, free: 7.023 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.7043, allocations: 0 / 1.049 GB, free: 7.023 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7043, allocations: 8 kB / 1.049 GB, free: 7.016 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.7062, allocations: 2.233 MB / 1.052 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7062, allocations: 11.94 kB / 1.052 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.7063, allocations: 51.92 kB / 1.052 GB, free: 4.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7063, allocations: 11.94 kB / 1.052 GB, free: 4.57 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.7063, allocations: 8 kB / 1.052 GB, free: 4.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.7063, allocations: 15.92 kB / 1.052 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.7063, allocations: 12 kB / 1.052 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.7067, allocations: 0.6157 MB / 1.052 GB, free: 3.82 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.707, allocations: 234.8 kB / 1.053 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.707, allocations: 19.92 kB / 1.053 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.7072, allocations: 8 kB / 1.053 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.7073, allocations: 43.78 kB / 1.053 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.7073, allocations: 12 kB / 1.053 GB, free: 3.508 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001183/0.7085, allocations: 1.207 MB / 1.054 GB, free: 2.305 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.7085, allocations: 4 kB / 1.054 GB, free: 2.301 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005418/0.709, allocations: 335.4 kB / 1.054 GB, free: 1.973 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.00128/0.7103, allocations: 1.649 MB / 1.056 GB, free: 224 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.7106, allocations: 351.8 kB / 1.056 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.7106, allocations: 8.125 kB / 1.056 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.7108, allocations: 155.6 kB / 1.056 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.7126, allocations: 0.9273 MB / 1.057 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/0.7213, allocations: 10.4 MB / 1.067 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.7217, allocations: 0.6029 MB / 1.068 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.7223, allocations: 302.6 kB / 1.068 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.7226, allocations: 463.3 kB / 1.069 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.7226, allocations: 0 / 1.069 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.7781, allocations: 47.95 MB / 1.115 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.428, allocations: 3.938 kB / 1.115 GB, free: 3.32 MB / 0.8855 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.295970638748258] Failed to read output from testmodel.py, exit status != 0: 8.523168032057583 8.531968891 7.842342302 Calling exit ...