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.0008506/0.0008506, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001052/0.001052, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9903/0.9903, allocations: 230.6 MB / 256 MB, free: 9.582 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.7843/0.7843, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001251/0.001251, allocations: 70.3 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5805, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1622/0.7428, allocations: 147.7 MB / 0.962 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.745, allocations: 1.496 MB / 0.9635 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.7453, allocations: 15.88 kB / 0.9635 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.7458, allocations: 154.8 kB / 0.9636 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.7473, allocations: 0.7194 MB / 0.9644 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.7486, allocations: 0.6432 MB / 0.965 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.7493, allocations: 0.7177 MB / 0.9657 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.7496, allocations: 199.6 kB / 0.9659 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.7504, allocations: 0.5138 MB / 0.9664 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.7507, allocations: 219.1 kB / 0.9666 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.7507, allocations: 24 kB / 0.9666 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.7522, allocations: 0.7166 MB / 0.9673 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.7524, allocations: 111.7 kB / 0.9674 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.7525, allocations: 143.3 kB / 0.9675 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009771/0.7535, allocations: 0.7125 MB / 0.9682 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7535, allocations: 0 / 0.9682 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7535, allocations: 0 / 0.9682 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7535, allocations: 0 / 0.9682 GB, free: 11.1 MB / 0.7448 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.0008477/0.7544, allocations: 0.5939 MB / 0.9688 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7544, allocations: 12.03 kB / 0.9688 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.7545, allocations: 70.47 kB / 0.9689 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/0.7552, allocations: 151.6 kB / 0.969 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.7556, allocations: 260.6 kB / 0.9693 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.7557, allocations: 24.44 kB / 0.9693 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.7557, allocations: 27.95 kB / 0.9693 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.7561, allocations: 285 kB / 0.9696 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.7561, allocations: 0 / 0.9696 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.7561, allocations: 8 kB / 0.9696 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.7561, allocations: 8 kB / 0.9696 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.7564, allocations: 200.9 kB / 0.9698 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.7575, allocations: 0.9908 MB / 0.9708 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.7577, allocations: 142.5 kB / 0.9709 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.7578, allocations: 84.81 kB / 0.971 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.7581, allocations: 75.91 kB / 0.9711 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.7581, allocations: 34.56 kB / 0.9711 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.7581, allocations: 3.938 kB / 0.9711 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0005732/0.7587, allocations: 297.5 kB / 0.9714 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.7587, allocations: 51.41 kB / 0.9715 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.759, allocations: 332.4 kB / 0.9718 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.759, allocations: 29.7 kB / 0.9718 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.7591, allocations: 188.2 kB / 0.972 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.7592, allocations: 67.45 kB / 0.972 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.7592, allocations: 41.7 kB / 0.9721 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7593, allocations: 338.8 kB / 0.9724 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.7594, allocations: 67.95 kB / 0.9725 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.7596, allocations: 204.6 kB / 0.9727 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.7599, allocations: 206.9 kB / 0.9729 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7599, allocations: 0 / 0.9729 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003212/0.7602, allocations: 253.2 kB / 0.9731 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7602, allocations: 6.344 kB / 0.9731 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7602, allocations: 0 / 0.9731 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.7602, allocations: 12.08 kB / 0.9731 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.7604, allocations: 47.92 kB / 0.9732 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7604, allocations: 3.938 kB / 0.9732 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.7605, allocations: 31.83 kB / 0.9732 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.7605, allocations: 8 kB / 0.9732 GB, free: 5.746 MB / 0.7448 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.0001401/0.7607, allocations: 161.6 kB / 0.9734 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.7607, allocations: 27.81 kB / 0.9734 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.7611, allocations: 236.6 kB / 0.9736 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7611, allocations: 4 kB / 0.9736 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7611, allocations: 0 / 0.9736 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7611, allocations: 0 / 0.9736 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.7622, allocations: 0.6554 MB / 0.9743 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7622, allocations: 8.031 kB / 0.9743 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.7623, allocations: 35.91 kB / 0.9743 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.7623, allocations: 4 kB / 0.9743 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.7623, allocations: 11.94 kB / 0.9743 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.7623, allocations: 0 / 0.9743 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7623, allocations: 4 kB / 0.9743 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.7628, allocations: 453 kB / 0.9747 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.7628, allocations: 47.81 kB / 0.9748 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.7629, allocations: 11.94 kB / 0.9748 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.7629, allocations: 4.141 kB / 0.9748 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.763, allocations: 23.95 kB / 0.9748 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.763, allocations: 4 kB / 0.9748 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001556/0.7632, allocations: 235 kB / 0.9751 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7632, allocations: 0 / 0.9751 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002932/0.7634, allocations: 83.83 kB / 0.9751 GB, free: 3.633 MB / 0.7448 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.0007951/0.7642, allocations: 1.035 MB / 0.9762 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.7646, allocations: 179.7 kB / 0.9763 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7646, allocations: 192 / 0.9763 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7647, allocations: 91.83 kB / 0.9764 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.7653, allocations: 170.5 kB / 0.9766 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.768, allocations: 3.007 MB / 0.9795 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.7681, allocations: 171.8 kB / 0.9797 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.7683, allocations: 74.91 kB / 0.9797 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.7684, allocations: 91.41 kB / 0.9798 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of SimCode: time 1.503e-06/0.7684, allocations: 4 kB / 0.9798 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.7979, allocations: 10.17 MB / 0.9898 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.756, allocations: 10.72 kB / 0.9898 GB, free: 4.711 MB / 0.7605 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: 10.8851443589665] Failed to read output from testmodel.py, exit status != 0: 7.838054146617651 7.846720493 7.09031916 Calling exit ...