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.0007921/0.0007921, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008173/0.0008173, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8942/0.8942, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.6989/0.6989, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 1.653e-06/1.653e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.076e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3928/0.3928, allocations: 146.5 MB / 0.7611 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3962, allocations: 5.158 MB / 0.7661 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3963, allocations: 8.844 kB / 0.7661 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.3967, allocations: 102.9 kB / 0.7662 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3969, allocations: 63.11 kB / 0.7663 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.3971, allocations: 33.44 kB / 0.7663 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.3973, allocations: 226.5 kB / 0.7666 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3975, allocations: 49.08 kB / 0.7666 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.3977, allocations: 137.4 kB / 0.7667 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3978, allocations: 56.59 kB / 0.7668 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3978, allocations: 10.06 kB / 0.7668 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.3978, allocations: 10.47 kB / 0.7668 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.3979, allocations: 39.38 kB / 0.7668 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.3979, allocations: 46.67 kB / 0.7669 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3981, allocations: 158 kB / 0.767 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3981, allocations: 0 / 0.767 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3981, allocations: 3.938 kB / 0.767 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3981, allocations: 1.375 kB / 0.767 GB, free: 5.184 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.0004425/0.3986, allocations: 363.1 kB / 0.7674 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3986, allocations: 9.312 kB / 0.7674 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.3986, allocations: 45.83 kB / 0.7674 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3987, allocations: 16.5 kB / 0.7675 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3989, allocations: 202.8 kB / 0.7677 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3989, allocations: 9.438 kB / 0.7677 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3989, allocations: 12.97 kB / 0.7677 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3991, allocations: 222.1 kB / 0.7679 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3991, allocations: 1.094 kB / 0.7679 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3991, allocations: 6.531 kB / 0.7679 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3991, allocations: 11.34 kB / 0.7679 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.3992, allocations: 66.86 kB / 0.768 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3997, allocations: 1.091 MB / 0.769 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.3998, allocations: 172.4 kB / 0.7692 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.3998, allocations: 84.08 kB / 0.7693 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.3998, allocations: 78.56 kB / 0.7694 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.3998, allocations: 109.3 kB / 0.7695 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3998, allocations: 0 / 0.7695 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.994e-05/0.3999, allocations: 51.03 kB / 0.7695 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3999, allocations: 184.3 kB / 0.7697 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.4001, allocations: 253.3 kB / 0.7699 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.4001, allocations: 27.14 kB / 0.7699 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.4002, allocations: 135.3 kB / 0.7701 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.4002, allocations: 1.125 kB / 0.7701 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.4002, allocations: 20.25 kB / 0.7701 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.4002, allocations: 325.1 kB / 0.7704 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.4002, allocations: 14.23 kB / 0.7704 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.4003, allocations: 168.4 kB / 0.7706 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.4003, allocations: 58.31 kB / 0.7706 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4003, allocations: 0.7031 kB / 0.7706 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000116/0.4004, allocations: 89.83 kB / 0.7707 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4005, allocations: 4.719 kB / 0.7707 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4005, allocations: 6.375 kB / 0.7707 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4005, allocations: 1.875 kB / 0.7707 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.4005, allocations: 11.52 kB / 0.7707 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4005, allocations: 3.672 kB / 0.7707 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.4006, allocations: 12.73 kB / 0.7708 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4006, allocations: 7.5 kB / 0.7708 GB, free: 1.672 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.437e-05/0.4007, allocations: 215.2 kB / 0.771 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.4007, allocations: 119 kB / 0.7711 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.4007, allocations: 126.9 kB / 0.7712 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.4007, allocations: 182.3 kB / 0.7714 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.4007, allocations: 178.1 kB / 0.7716 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4008, allocations: 182.5 kB / 0.7717 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.4009, allocations: 417.6 kB / 0.7721 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.4009, allocations: 103 kB / 0.7722 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.4009, allocations: 107.1 kB / 0.7723 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.315e-05/0.401, allocations: 178.5 kB / 0.7725 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.401, allocations: 187.1 kB / 0.7727 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-05/0.401, allocations: 179.8 kB / 0.7728 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-05/0.4011, allocations: 182.9 kB / 0.773 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.4012, allocations: 320.6 kB / 0.7733 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.4012, allocations: 129.2 kB / 0.7734 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.4013, allocations: 183.4 kB / 0.7736 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.4014, allocations: 103 kB / 0.7737 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.4015, allocations: 187.1 kB / 0.7739 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.4015, allocations: 103.1 kB / 0.774 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000141/0.4016, allocations: 185.2 kB / 0.7742 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4016, allocations: 0 / 0.7742 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001645/0.4018, allocations: 20.69 kB / 0.7742 GB, free: 14.18 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.0002866/0.4021, allocations: 0.8169 MB / 0.775 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.4022, allocations: 25.98 kB / 0.775 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4022, allocations: 2.031 kB / 0.775 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.4022, allocations: 4 kB / 0.775 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.4026, allocations: 0.4977 MB / 0.7755 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.4042, allocations: 2.057 MB / 0.7775 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.4042, allocations: 107.5 kB / 0.7776 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.4043, allocations: 23.94 kB / 0.7776 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.4044, allocations: 40.06 kB / 0.7777 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.4044, allocations: 0 / 0.7777 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.4219, allocations: 4.78 MB / 0.7823 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/7.256, allocations: 3.547 kB / 0.7824 GB, free: 10.04 MB / 0.6511 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.83592957444489] Failed to read output from testmodel.py, exit status != 0: 7.3367933463305235 7.345858056 6.945932637 Calling exit ...