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.0008638/0.0008638, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001137/0.001137, allocations: 207.6 kB / 22.25 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.9822/0.9822, allocations: 230.6 MB / 256 MB, free: 9.605 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.8097/0.8097, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.000897/0.000897, allocations: 69.8 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.5815, allocations: 102 MB / 0.8178 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1625/0.7441, allocations: 147.7 MB / 0.962 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.7466, allocations: 1.491 MB / 0.9635 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.7471, allocations: 23.81 kB / 0.9635 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.7476, allocations: 150.9 kB / 0.9636 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.7493, allocations: 0.7118 MB / 0.9643 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.7508, allocations: 0.6443 MB / 0.965 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000965/0.7517, allocations: 0.7215 MB / 0.9657 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.7522, allocations: 191.7 kB / 0.9659 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.7534, allocations: 0.5255 MB / 0.9664 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.7537, allocations: 219 kB / 0.9666 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.7538, allocations: 24 kB / 0.9666 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.7552, allocations: 0.7089 MB / 0.9673 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.7553, allocations: 119.6 kB / 0.9674 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.7555, allocations: 143.3 kB / 0.9675 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009647/0.7564, allocations: 0.7086 MB / 0.9682 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7564, allocations: 0 / 0.9682 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7564, allocations: 0 / 0.9682 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7565, allocations: 0 / 0.9682 GB, free: 11 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.0008859/0.7573, allocations: 0.5979 MB / 0.9688 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7574, allocations: 16.02 kB / 0.9688 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.7575, allocations: 58.55 kB / 0.9689 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.7582, allocations: 155.6 kB / 0.969 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.7588, allocations: 260.5 kB / 0.9693 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.7588, allocations: 24.44 kB / 0.9693 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.7588, allocations: 27.95 kB / 0.9693 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.7592, allocations: 281 kB / 0.9696 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7592, allocations: 4 kB / 0.9696 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.7593, allocations: 8 kB / 0.9696 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7593, allocations: 8 kB / 0.9696 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.7595, allocations: 200.9 kB / 0.9698 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.7606, allocations: 0.987 MB / 0.9708 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.7608, allocations: 144.9 kB / 0.9709 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.7609, allocations: 92.8 kB / 0.971 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.7612, allocations: 75.86 kB / 0.9711 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.7612, allocations: 34.56 kB / 0.9711 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 3.316e-06/0.7613, allocations: 0 / 0.9711 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0005843/0.7618, allocations: 297.5 kB / 0.9714 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.7619, allocations: 51.41 kB / 0.9714 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.7621, allocations: 328.4 kB / 0.9718 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.7622, allocations: 37.69 kB / 0.9718 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.7623, allocations: 184.2 kB / 0.972 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.7623, allocations: 63.47 kB / 0.972 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.7624, allocations: 41.7 kB / 0.9721 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7625, allocations: 342.8 kB / 0.9724 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7626, allocations: 63.95 kB / 0.9725 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.7628, allocations: 206.2 kB / 0.9727 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.763, allocations: 207 kB / 0.9729 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.763, allocations: 0 / 0.9729 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003142/0.7633, allocations: 259.7 kB / 0.9731 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.7633, allocations: 11.98 kB / 0.9731 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.7633, allocations: 0 / 0.9731 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7634, allocations: 4 kB / 0.9731 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7635, allocations: 39.98 kB / 0.9732 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.7635, allocations: 3.938 kB / 0.9732 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.7636, allocations: 31.83 kB / 0.9732 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.7637, allocations: 12 kB / 0.9732 GB, free: 5.648 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.0001361/0.7638, allocations: 153.7 kB / 0.9733 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.7638, allocations: 35.81 kB / 0.9734 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.7642, allocations: 239 kB / 0.9736 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7642, allocations: 0 / 0.9736 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.7642, allocations: 4 kB / 0.9736 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7642, allocations: 0 / 0.9736 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.7649, allocations: 0.6591 MB / 0.9743 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7649, allocations: 0 / 0.9743 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.765, allocations: 39.97 kB / 0.9743 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.765, allocations: 4 kB / 0.9743 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.7651, allocations: 7.938 kB / 0.9743 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7651, allocations: 3.938 kB / 0.9743 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7651, allocations: 4 kB / 0.9743 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.7655, allocations: 457.3 kB / 0.9748 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.7656, allocations: 47.78 kB / 0.9748 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.7656, allocations: 7.938 kB / 0.9748 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.7657, allocations: 8 kB / 0.9748 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.7657, allocations: 15.97 kB / 0.9748 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.7658, allocations: 11.94 kB / 0.9748 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001663/0.7659, allocations: 231 kB / 0.9751 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7659, allocations: 0 / 0.9751 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003081/0.7662, allocations: 87.95 kB / 0.9751 GB, free: 3.531 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.0008372/0.7671, allocations: 1.021 MB / 0.9761 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.7674, allocations: 188 kB / 0.9763 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7674, allocations: 0 / 0.9763 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.7675, allocations: 87.83 kB / 0.9764 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.7682, allocations: 174.7 kB / 0.9766 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.7713, allocations: 3.008 MB / 0.9795 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.7715, allocations: 175.8 kB / 0.9797 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.7717, allocations: 66.92 kB / 0.9797 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.7718, allocations: 91.41 kB / 0.9798 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of SimCode: time 1.883e-06/0.7718, allocations: 0 / 0.9798 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.8032, allocations: 10.17 MB / 0.9898 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/7.705, allocations: 9.172 kB / 0.9898 GB, free: 4.617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.708341842051595] Failed to read output from testmodel.py, exit status != 0: 7.787043841090053 7.796582315 7.038188145 Calling exit ...