Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.0007362/0.0007362, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007581/0.0007581, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 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.9596/0.9596, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.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.7975/0.7975, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [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.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 74.59 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.582, allocations: 102 MB / 0.8179 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1596/0.7416, allocations: 171.1 MB / 0.9849 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.7436, allocations: 1.569 MB / 0.9865 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.7438, allocations: 19.81 kB / 0.9865 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.7443, allocations: 146.9 kB / 0.9866 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.7456, allocations: 0.7546 MB / 0.9874 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.7465, allocations: 0.6523 MB / 0.988 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.7471, allocations: 0.737 MB / 0.9887 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.7474, allocations: 193.1 kB / 0.9889 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.7481, allocations: 0.5177 MB / 0.9894 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.7483, allocations: 231.1 kB / 0.9896 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.7484, allocations: 24 kB / 0.9896 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.7492, allocations: 0.9313 MB / 0.9906 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.7493, allocations: 119.6 kB / 0.9907 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.7495, allocations: 167.2 kB / 0.9908 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.7504, allocations: 0.7398 MB / 0.9916 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7504, allocations: 4 kB / 0.9916 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7505, allocations: 0 / 0.9916 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7505, allocations: 0 / 0.9916 GB, free: 3.602 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000687/0.7511, allocations: 0.6017 MB / 0.9921 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7512, allocations: 8.031 kB / 0.9922 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.7512, allocations: 62.48 kB / 0.9922 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.7518, allocations: 155.6 kB / 0.9924 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.7522, allocations: 260.6 kB / 0.9926 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.7523, allocations: 24.38 kB / 0.9926 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.7523, allocations: 31.94 kB / 0.9927 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.7526, allocations: 285 kB / 0.9929 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7526, allocations: 0 / 0.9929 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.7527, allocations: 4 kB / 0.9929 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7527, allocations: 8 kB / 0.9929 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.7529, allocations: 204.9 kB / 0.9931 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.7539, allocations: 1.192 MB / 0.9943 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.7541, allocations: 142.5 kB / 0.9944 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7542, allocations: 84.8 kB / 0.9945 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.7544, allocations: 75.92 kB / 0.9946 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.7544, allocations: 34.56 kB / 0.9946 GB, free: 256 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.7544, allocations: 0 / 0.9946 GB, free: 256 kB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.0005057/0.755, allocations: 303.8 kB / 0.9949 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.755, allocations: 51.41 kB / 0.995 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.7552, allocations: 328.4 kB / 0.9953 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.7552, allocations: 37.64 kB / 0.9953 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.7553, allocations: 184.3 kB / 0.9955 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.7554, allocations: 63.44 kB / 0.9956 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.7554, allocations: 41.7 kB / 0.9956 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.7555, allocations: 342.8 kB / 0.9959 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.7556, allocations: 71.94 kB / 0.996 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.7557, allocations: 125 kB / 0.9961 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.756, allocations: 208.9 kB / 0.9963 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.756, allocations: 0 / 0.9963 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002793/0.7562, allocations: 253.2 kB / 0.9965 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7563, allocations: 8.094 kB / 0.9966 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7563, allocations: 4 kB / 0.9966 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7563, allocations: 0 / 0.9966 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.7564, allocations: 47.91 kB / 0.9966 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7564, allocations: 4 kB / 0.9966 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.7565, allocations: 31.83 kB / 0.9966 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.7565, allocations: 8 kB / 0.9966 GB, free: 14.09 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001067/0.7566, allocations: 157.7 kB / 0.9968 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.7567, allocations: 35.77 kB / 0.9968 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.7569, allocations: 230.4 kB / 0.997 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.757, allocations: 4 kB / 0.9971 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.757, allocations: 0 / 0.9971 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.757, allocations: 3.984 kB / 0.9971 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.7576, allocations: 0.6786 MB / 0.9977 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7576, allocations: 7.984 kB / 0.9977 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.7577, allocations: 35.92 kB / 0.9978 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7577, allocations: 4.219 kB / 0.9978 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.7577, allocations: 7.938 kB / 0.9978 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7577, allocations: 4 kB / 0.9978 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7577, allocations: 4 kB / 0.9978 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.7581, allocations: 449.1 kB / 0.9982 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.7582, allocations: 51.72 kB / 0.9983 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.7582, allocations: 11.94 kB / 0.9983 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.7583, allocations: 7.984 kB / 0.9983 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.7584, allocations: 19.98 kB / 0.9983 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.7584, allocations: 8 kB / 0.9983 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004141/0.7588, allocations: 231 kB / 0.9985 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7588, allocations: 0 / 0.9985 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002518/0.759, allocations: 87.83 kB / 0.9986 GB, free: 11.95 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0007155/0.7597, allocations: 1.029 MB / 0.9996 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.76, allocations: 170.9 kB / 0.9998 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.76, allocations: 4 kB / 0.9998 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.7601, allocations: 92.02 kB / 0.9999 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.7606, allocations: 166.7 kB / 1 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.763, allocations: 3.023 MB / 1.003 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.7633, allocations: 0.7795 MB / 1.004 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.7634, allocations: 62.94 kB / 1.004 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.7635, allocations: 95.41 kB / 1.004 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.7635, allocations: 0 / 1.004 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.7878, allocations: 9.259 MB / 1.013 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.981, allocations: 8.203 kB / 1.013 GB, free: 13.27 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.040924343978986] Failed to read output from testmodel.py, exit status != 0: 8.065445360960439 8.079025951 7.3262822739999995 Calling exit ...