Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007871/0.0007871, 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.0008291/0.0008291, allocations: 169.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.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7365/0.7365, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 4 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.671e-05, allocations: 5.094 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3799/0.38, allocations: 146.4 MB / 0.761 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3829, allocations: 5.15 MB / 0.7661 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.383, allocations: 13.38 kB / 0.7661 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3833, allocations: 99.03 kB / 0.7662 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3835, allocations: 62.61 kB / 0.7662 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.3836, allocations: 40.33 kB / 0.7663 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3838, allocations: 226.8 kB / 0.7665 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.384, allocations: 58.89 kB / 0.7666 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3842, allocations: 132.4 kB / 0.7667 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.3843, allocations: 61 kB / 0.7667 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3843, allocations: 9.938 kB / 0.7667 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.3843, allocations: 10.91 kB / 0.7668 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3843, allocations: 25.91 kB / 0.7668 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.3844, allocations: 47.08 kB / 0.7668 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3845, allocations: 162.7 kB / 0.767 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3845, allocations: 0.7031 kB / 0.767 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3845, allocations: 0 / 0.767 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3845, allocations: 0 / 0.767 GB, free: 5.207 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.0004112/0.385, allocations: 364.3 kB / 0.7673 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.385, allocations: 14.97 kB / 0.7673 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.385, allocations: 45.22 kB / 0.7674 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.3851, allocations: 16.53 kB / 0.7674 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3853, allocations: 208.4 kB / 0.7676 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3853, allocations: 5.578 kB / 0.7676 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3853, allocations: 11.97 kB / 0.7676 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3854, allocations: 223.8 kB / 0.7678 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3855, allocations: 3.938 kB / 0.7678 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3855, allocations: 6.75 kB / 0.7678 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.3855, allocations: 3.531 kB / 0.7678 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.585e-05/0.3856, allocations: 67.94 kB / 0.7679 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.386, allocations: 1.095 MB / 0.769 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.287e-05/0.386, allocations: 171.5 kB / 0.7691 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.004e-05/0.3861, allocations: 80.84 kB / 0.7692 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.3861, allocations: 76.69 kB / 0.7693 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3861, allocations: 112 kB / 0.7694 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3861, allocations: 0 / 0.7694 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.362e-05/0.3861, allocations: 50.75 kB / 0.7694 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.3862, allocations: 183.9 kB / 0.7696 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3863, allocations: 257.1 kB / 0.7699 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.3863, allocations: 27.02 kB / 0.7699 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.3864, allocations: 134.7 kB / 0.77 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-06/0.3864, allocations: 1.781 kB / 0.77 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.3864, allocations: 20.78 kB / 0.77 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.035e-05/0.3864, allocations: 328 kB / 0.7704 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.3865, allocations: 11.27 kB / 0.7704 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.3865, allocations: 167.9 kB / 0.7705 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.3865, allocations: 58.66 kB / 0.7706 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3865, allocations: 0 / 0.7706 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.3866, allocations: 85.77 kB / 0.7707 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3867, allocations: 4.969 kB / 0.7707 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3867, allocations: 6.156 kB / 0.7707 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3867, allocations: 2.438 kB / 0.7707 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.3867, allocations: 6.984 kB / 0.7707 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3867, allocations: 2.469 kB / 0.7707 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.3868, allocations: 14.52 kB / 0.7707 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.3868, allocations: 10.88 kB / 0.7707 GB, free: 1.688 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 5.777e-05/0.3868, allocations: 208.4 kB / 0.7709 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3869, allocations: 121.4 kB / 0.771 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3869, allocations: 133.1 kB / 0.7712 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3869, allocations: 177 kB / 0.7713 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.3869, allocations: 186 kB / 0.7715 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3869, allocations: 183.3 kB / 0.7717 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.387, allocations: 409.9 kB / 0.7721 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.387, allocations: 111.2 kB / 0.7722 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.387, allocations: 101 kB / 0.7723 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.602e-05/0.3871, allocations: 182.4 kB / 0.7724 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.3871, allocations: 187.4 kB / 0.7726 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.755e-05/0.3872, allocations: 178.5 kB / 0.7728 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-05/0.3872, allocations: 181.8 kB / 0.773 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.3873, allocations: 321.1 kB / 0.7733 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.3874, allocations: 125.5 kB / 0.7734 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.3874, allocations: 186.4 kB / 0.7736 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.3875, allocations: 111.3 kB / 0.7737 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.3878, allocations: 178.5 kB / 0.7738 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3878, allocations: 101.7 kB / 0.7739 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3879, allocations: 194.5 kB / 0.7741 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.3879, allocations: 0 / 0.7741 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001591/0.3881, allocations: 19.97 kB / 0.7741 GB, free: 14.19 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.0002505/0.3883, allocations: 0.8147 MB / 0.7749 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.3884, allocations: 25.61 kB / 0.775 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3884, allocations: 0 / 0.775 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3884, allocations: 1.156 kB / 0.775 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3888, allocations: 0.5059 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.001443/0.3902, allocations: 2.055 MB / 0.7775 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.032e-05/0.3903, allocations: 104.6 kB / 0.7776 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.815e-05/0.3904, allocations: 19.8 kB / 0.7776 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.3904, allocations: 44.44 kB / 0.7776 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.3904, allocations: 4 kB / 0.7776 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.4108, allocations: 4.788 MB / 0.7823 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.556, allocations: 5.391 kB / 0.7823 GB, free: 10.03 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.299094947986305] Failed to read output from testmodel.py, exit status != 0: 7.637320290319622 7.652414403 7.265286634 Calling exit ...