Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.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.000742/0.000742, 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.000812/0.000812, allocations: 170.3 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.8694/0.8694, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7189/0.7189, allocations: 154.6 MB / 413.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.503e-05, allocations: 13.16 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4101/0.4102, allocations: 146.4 MB / 0.7611 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.414, allocations: 5.167 MB / 0.7661 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.4143, allocations: 8.219 kB / 0.7661 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.4147, allocations: 98.67 kB / 0.7662 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.4149, allocations: 62.42 kB / 0.7663 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.415, allocations: 40.52 kB / 0.7663 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.4152, allocations: 223.2 kB / 0.7666 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.4154, allocations: 53.66 kB / 0.7666 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.4157, allocations: 137 kB / 0.7667 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.4158, allocations: 56.98 kB / 0.7668 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.4158, allocations: 10.41 kB / 0.7668 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.4158, allocations: 9.562 kB / 0.7668 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.4159, allocations: 33.92 kB / 0.7668 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.4159, allocations: 47.89 kB / 0.7669 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.4161, allocations: 158.1 kB / 0.767 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4161, allocations: 4.5 kB / 0.767 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4161, allocations: 0 / 0.767 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4161, allocations: 1.125 kB / 0.767 GB, free: 5.129 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000479/0.4166, allocations: 366.8 kB / 0.7674 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4167, allocations: 10.41 kB / 0.7674 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.4167, allocations: 48.97 kB / 0.7674 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.4167, allocations: 16.47 kB / 0.7675 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.4169, allocations: 199.2 kB / 0.7677 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4169, allocations: 9.172 kB / 0.7677 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4169, allocations: 15.47 kB / 0.7677 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4171, allocations: 219.4 kB / 0.7679 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4172, allocations: 5.281 kB / 0.7679 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4172, allocations: 5.438 kB / 0.7679 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4172, allocations: 4.781 kB / 0.7679 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.4173, allocations: 67.34 kB / 0.768 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.4178, allocations: 1.087 MB / 0.769 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.895e-05/0.4178, allocations: 174.5 kB / 0.7692 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.4178, allocations: 81.39 kB / 0.7693 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.4178, allocations: 75.28 kB / 0.7693 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4178, allocations: 109.3 kB / 0.7694 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.4178, allocations: 0 / 0.7694 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.131e-05/0.4179, allocations: 53.94 kB / 0.7695 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4179, allocations: 179.8 kB / 0.7697 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4181, allocations: 255.3 kB / 0.7699 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.4181, allocations: 31.14 kB / 0.7699 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.4182, allocations: 137 kB / 0.7701 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.4182, allocations: 1.094 kB / 0.7701 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.4182, allocations: 20.78 kB / 0.7701 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.4183, allocations: 325.5 kB / 0.7704 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.4183, allocations: 10.88 kB / 0.7704 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.4183, allocations: 167.7 kB / 0.7706 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.4184, allocations: 57.75 kB / 0.7706 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4184, allocations: 4.5 kB / 0.7706 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001249/0.4185, allocations: 85.28 kB / 0.7707 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4185, allocations: 5.469 kB / 0.7707 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4185, allocations: 5.312 kB / 0.7707 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4185, allocations: 6.438 kB / 0.7707 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.4186, allocations: 9.031 kB / 0.7707 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4186, allocations: 6 kB / 0.7707 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.4187, allocations: 17.52 kB / 0.7708 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4187, allocations: 3.172 kB / 0.7708 GB, free: 1.617 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 6.673e-05/0.4187, allocations: 212.4 kB / 0.771 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.4188, allocations: 117.3 kB / 0.7711 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.4188, allocations: 132 kB / 0.7712 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4188, allocations: 178.8 kB / 0.7714 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.4188, allocations: 178.4 kB / 0.7715 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.4189, allocations: 181 kB / 0.7717 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.419, allocations: 414.5 kB / 0.7721 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.419, allocations: 107 kB / 0.7722 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.4191, allocations: 107.1 kB / 0.7723 GB, free: 16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.69e-05/0.4191, allocations: 182.4 kB / 0.7725 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4192, allocations: 182 kB / 0.7727 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-05/0.4192, allocations: 178.8 kB / 0.7728 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.736e-05/0.4193, allocations: 186.2 kB / 0.773 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.4194, allocations: 321 kB / 0.7733 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4194, allocations: 124.5 kB / 0.7734 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.4195, allocations: 183.8 kB / 0.7736 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.4196, allocations: 111 kB / 0.7737 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.4196, allocations: 178.6 kB / 0.7739 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.4197, allocations: 111.2 kB / 0.774 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001557/0.4198, allocations: 186.2 kB / 0.7742 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4198, allocations: 0 / 0.7742 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001851/0.42, allocations: 19.72 kB / 0.7742 GB, free: 14.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002946/0.4203, allocations: 0.814 MB / 0.775 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.4204, allocations: 25.67 kB / 0.775 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4204, allocations: 1.281 kB / 0.775 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.4204, allocations: 0 / 0.775 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4208, allocations: 0.5121 MB / 0.7755 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4223, allocations: 2.057 MB / 0.7775 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.4224, allocations: 108.1 kB / 0.7776 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.603e-05/0.4225, allocations: 19.69 kB / 0.7776 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.4226, allocations: 43.75 kB / 0.7777 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/0.4226, allocations: 3.938 kB / 0.7777 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.4427, allocations: 4.775 MB / 0.7824 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.711, allocations: 6.672 kB / 0.7824 GB, free: 9.969 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.41406700015068] Failed to read output from testmodel.py, exit status != 0: 7.796939129009843 7.805166924 7.387311878 Calling exit ...