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.001005/0.001005, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000978/0.000978, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.6989/0.6989, allocations: 154.5 MB / 413.7 MB, free: 0.8594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.623e-05, allocations: 3.75 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4611/0.4611, allocations: 189.5 MB / 0.8031 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.4718, allocations: 11.24 MB / 0.8141 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4729, allocations: 63.12 kB / 0.8141 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.474, allocations: 0.5408 MB / 0.8147 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.4782, allocations: 1.946 MB / 0.8166 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.4822, allocations: 2.108 MB / 0.8186 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.4842, allocations: 2.355 MB / 0.8209 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008175/0.485, allocations: 0.8522 MB / 0.8218 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004821/0.4898, allocations: 3.472 MB / 0.8251 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.4903, allocations: 0.601 MB / 0.8257 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.4904, allocations: 94.66 kB / 0.8258 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.4933, allocations: 2.086 MB / 0.8279 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.4936, allocations: 0.5685 MB / 0.8284 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.4939, allocations: 0.4902 MB / 0.8289 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.4962, allocations: 3.194 MB / 0.832 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4962, allocations: 0 / 0.832 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4962, allocations: 0 / 0.832 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.4962, allocations: 2.75 kB / 0.832 GB, free: 8.715 MB / 0.6823 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.001686/0.4979, allocations: 1.7 MB / 0.8337 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.498, allocations: 9.469 kB / 0.8337 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.4981, allocations: 172.8 kB / 0.8338 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.4991, allocations: 386.2 kB / 0.8342 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5001, allocations: 0.8985 MB / 0.8351 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.5002, allocations: 78 kB / 0.8352 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.5003, allocations: 104 kB / 0.8353 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5017, allocations: 1.981 MB / 0.8372 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5017, allocations: 7.938 kB / 0.8372 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.5018, allocations: 48 kB / 0.8373 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.5018, allocations: 57.64 kB / 0.8373 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/0.5028, allocations: 1.029 MB / 0.8383 GB, free: 1.969 MB / 0.6823 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.003587/0.5063, allocations: 4.915 MB / 0.8431 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.5067, allocations: 310.2 kB / 0.8434 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5069, allocations: 238.5 kB / 0.8436 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.5071, allocations: 107.9 kB / 0.8437 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5072, allocations: 42.5 kB / 0.8438 GB, free: 12.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.5072, allocations: 0 / 0.8438 GB, free: 12.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0007799/0.5079, allocations: 0.6846 MB / 0.8445 GB, free: 11.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.508, allocations: 132.5 kB / 0.8446 GB, free: 11.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5093, allocations: 1.682 MB / 0.8462 GB, free: 9.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.5093, allocations: 33.7 kB / 0.8463 GB, free: 9.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.5097, allocations: 0.5584 MB / 0.8468 GB, free: 9.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.5097, allocations: 99.16 kB / 0.8469 GB, free: 8.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.5098, allocations: 69.64 kB / 0.847 GB, free: 8.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003541/0.5102, allocations: 326 kB / 0.8473 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5103, allocations: 155.8 kB / 0.8474 GB, free: 8.379 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.5106, allocations: 426.6 kB / 0.8478 GB, free: 7.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.5109, allocations: 408.2 kB / 0.8482 GB, free: 7.465 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5109, allocations: 0 / 0.8482 GB, free: 7.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004835/0.5114, allocations: 0.5511 MB / 0.8488 GB, free: 6.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5114, allocations: 4 kB / 0.8488 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5114, allocations: 4 kB / 0.8488 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5114, allocations: 4 kB / 0.8488 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5115, allocations: 47.92 kB / 0.8488 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5115, allocations: 10.8 kB / 0.8488 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.5118, allocations: 107 kB / 0.8489 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.5118, allocations: 20 kB / 0.8489 GB, free: 6.715 MB / 0.698 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.0003152/0.5121, allocations: 394.7 kB / 0.8493 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5123, allocations: 147 kB / 0.8495 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.5126, allocations: 378 kB / 0.8498 GB, free: 5.785 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5126, allocations: 4 kB / 0.8498 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5126, allocations: 4 kB / 0.8498 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5126, allocations: 0 / 0.8498 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.5147, allocations: 2.257 MB / 0.852 GB, free: 3.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5147, allocations: 11.97 kB / 0.852 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.5148, allocations: 47.92 kB / 0.8521 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5148, allocations: 11.94 kB / 0.8521 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5148, allocations: 15.94 kB / 0.8521 GB, free: 3.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.5148, allocations: 11.98 kB / 0.8521 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5148, allocations: 15.88 kB / 0.8521 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.5153, allocations: 0.6128 MB / 0.8527 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.5156, allocations: 234.8 kB / 0.853 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.5156, allocations: 12 kB / 0.853 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5158, allocations: 12 kB / 0.853 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5159, allocations: 35.84 kB / 0.853 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5159, allocations: 16.09 kB / 0.853 GB, free: 2.258 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001314/0.5172, allocations: 1.227 MB / 0.8542 GB, free: 1.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5172, allocations: 0 / 0.8542 GB, free: 1.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006447/0.5179, allocations: 331.4 kB / 0.8545 GB, free: 0.7109 MB / 0.698 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.001509/0.5194, allocations: 1.669 MB / 0.8562 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.5198, allocations: 339.5 kB / 0.8565 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5198, allocations: 0 / 0.8565 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.5199, allocations: 160.9 kB / 0.8567 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.5218, allocations: 0.9254 MB / 0.8576 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.5316, allocations: 10.59 MB / 0.8679 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.5321, allocations: 0.607 MB / 0.8685 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005631/0.5326, allocations: 298.7 kB / 0.8688 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.533, allocations: 464.4 kB / 0.8692 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.533, allocations: 0 / 0.8692 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05281/0.5858, allocations: 48.11 MB / 0.9162 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.898, allocations: 11.73 kB / 0.9162 GB, free: 1.98 MB / 0.7605 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.65400891751051] Failed to read output from testmodel.py, exit status != 0: 9.000490237027407 9.009419124 8.511187693 Calling exit ...