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.0007819/0.0007819, 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.0007972/0.0007972, 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.8797/0.8797, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7139/0.7139, allocations: 154.5 MB / 413.7 MB, free: 0.832 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 1.363e-06/1.363e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.816e-06/1.018e-05, allocations: 6.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3784/0.3785, allocations: 146.5 MB / 0.761 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.3817, allocations: 5.154 MB / 0.7661 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3818, allocations: 9.531 kB / 0.7661 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.3821, allocations: 97.67 kB / 0.7662 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3823, allocations: 63.12 kB / 0.7662 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.3824, allocations: 36.81 kB / 0.7663 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3826, allocations: 219.1 kB / 0.7665 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3828, allocations: 58.67 kB / 0.7665 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.383, allocations: 140 kB / 0.7667 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3831, allocations: 61.48 kB / 0.7667 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3831, allocations: 9.719 kB / 0.7667 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.3831, allocations: 10.69 kB / 0.7668 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.3832, allocations: 30.92 kB / 0.7668 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.3832, allocations: 43.64 kB / 0.7668 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3834, allocations: 157 kB / 0.767 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3834, allocations: 5.375 kB / 0.767 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3834, allocations: 0 / 0.767 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3834, allocations: 4 kB / 0.767 GB, free: 5.215 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.0004116/0.3838, allocations: 367.3 kB / 0.7673 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3838, allocations: 10.56 kB / 0.7673 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.3839, allocations: 45.84 kB / 0.7674 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.3839, allocations: 18.16 kB / 0.7674 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3841, allocations: 200 kB / 0.7676 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3841, allocations: 9.297 kB / 0.7676 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3841, allocations: 11.81 kB / 0.7676 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3843, allocations: 219.9 kB / 0.7678 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3843, allocations: 3.938 kB / 0.7678 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3843, allocations: 10.77 kB / 0.7678 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3843, allocations: 2.844 kB / 0.7678 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.3844, allocations: 68.36 kB / 0.7679 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3849, allocations: 1.086 MB / 0.769 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.3849, allocations: 171.3 kB / 0.7691 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.082e-05/0.3849, allocations: 84.8 kB / 0.7692 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.3849, allocations: 80.94 kB / 0.7693 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.385, allocations: 107.6 kB / 0.7694 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.385, allocations: 3.984 kB / 0.7694 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.161e-05/0.385, allocations: 55.81 kB / 0.7694 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.385, allocations: 179.8 kB / 0.7696 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3852, allocations: 257.6 kB / 0.7699 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.3852, allocations: 25.7 kB / 0.7699 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.3853, allocations: 136.6 kB / 0.77 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.3853, allocations: 0 / 0.77 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.3853, allocations: 21.55 kB / 0.77 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.3853, allocations: 332 kB / 0.7704 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.3854, allocations: 11.19 kB / 0.7704 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.3854, allocations: 166.8 kB / 0.7705 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.3854, allocations: 56.02 kB / 0.7706 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3854, allocations: 0 / 0.7706 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000108/0.3855, allocations: 89.52 kB / 0.7707 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3856, allocations: 8.312 kB / 0.7707 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3856, allocations: 3.938 kB / 0.7707 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3856, allocations: 3.156 kB / 0.7707 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.822e-05/0.3856, allocations: 7.344 kB / 0.7707 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3856, allocations: 7.422 kB / 0.7707 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.3857, allocations: 13.77 kB / 0.7707 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3857, allocations: 2.344 kB / 0.7707 GB, free: 1.699 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.363e-05/0.3857, allocations: 207.2 kB / 0.7709 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.3858, allocations: 122.9 kB / 0.771 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.3858, allocations: 131.3 kB / 0.7711 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3858, allocations: 182.6 kB / 0.7713 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.3858, allocations: 182 kB / 0.7715 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.3858, allocations: 182 kB / 0.7717 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3859, allocations: 411 kB / 0.7721 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.386, allocations: 115.2 kB / 0.7722 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-06/0.386, allocations: 101.7 kB / 0.7723 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-05/0.386, allocations: 182.2 kB / 0.7724 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.3861, allocations: 183.1 kB / 0.7726 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.73e-05/0.3861, allocations: 178.3 kB / 0.7728 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-05/0.3861, allocations: 186.3 kB / 0.773 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.57e-05/0.3862, allocations: 325 kB / 0.7733 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.3863, allocations: 120.7 kB / 0.7734 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.3863, allocations: 187 kB / 0.7736 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.3864, allocations: 110.9 kB / 0.7737 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3864, allocations: 178.5 kB / 0.7738 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3865, allocations: 106.7 kB / 0.7739 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001273/0.3866, allocations: 185.9 kB / 0.7741 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3866, allocations: 0 / 0.7741 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001648/0.3867, allocations: 19.41 kB / 0.7741 GB, free: 14.2 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.0002495/0.387, allocations: 0.8192 MB / 0.7749 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.3871, allocations: 24.53 kB / 0.775 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3871, allocations: 1.25 kB / 0.775 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3871, allocations: 0.5625 kB / 0.775 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3875, allocations: 0.5029 MB / 0.7755 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3889, allocations: 2.054 MB / 0.7775 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.389, allocations: 103.3 kB / 0.7776 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.389, allocations: 24.36 kB / 0.7776 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.3891, allocations: 43.41 kB / 0.7776 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.3891, allocations: 0 / 0.7776 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.4062, allocations: 4.782 MB / 0.7823 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.652, allocations: 5.484 kB / 0.7823 GB, free: 10.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.260485572740436] Failed to read output from testmodel.py, exit status != 0: 7.733714432455599 7.744793794 7.359359538 Calling exit ...