Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.0011/0.0011, 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.0009672/0.0009672, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9022/0.9022, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7215/0.7215, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.382e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4269/0.4269, allocations: 147.6 MB / 0.7622 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4289, allocations: 1.492 MB / 0.7636 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.4291, allocations: 19.5 kB / 0.7637 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.4295, allocations: 151 kB / 0.7638 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.4308, allocations: 0.7141 MB / 0.7645 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4319, allocations: 0.6799 MB / 0.7652 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.4325, allocations: 0.7109 MB / 0.7659 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.4328, allocations: 183.4 kB / 0.766 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008288/0.4336, allocations: 0.5858 MB / 0.7666 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.4338, allocations: 194.5 kB / 0.7668 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.4339, allocations: 26.41 kB / 0.7668 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.4348, allocations: 0.7169 MB / 0.7675 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4349, allocations: 111.5 kB / 0.7676 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.435, allocations: 116 kB / 0.7677 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.4359, allocations: 0.7329 MB / 0.7684 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4359, allocations: 0 / 0.7684 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4359, allocations: 0 / 0.7684 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4359, allocations: 1.641 kB / 0.7684 GB, free: 5.227 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008271/0.4367, allocations: 0.5818 MB / 0.769 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4368, allocations: 15.12 kB / 0.769 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.4368, allocations: 55.22 kB / 0.7691 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006567/0.4375, allocations: 159.4 kB / 0.7692 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.4379, allocations: 259 kB / 0.7695 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4379, allocations: 18.84 kB / 0.7695 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.4379, allocations: 23.2 kB / 0.7695 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.4383, allocations: 269.9 kB / 0.7698 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4383, allocations: 3.938 kB / 0.7698 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4383, allocations: 11.73 kB / 0.7698 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4383, allocations: 8.5 kB / 0.7698 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.4386, allocations: 190.9 kB / 0.77 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.4394, allocations: 0.9779 MB / 0.7709 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4396, allocations: 136.4 kB / 0.7711 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4397, allocations: 84.06 kB / 0.7711 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.44, allocations: 75.75 kB / 0.7712 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.44, allocations: 34.91 kB / 0.7713 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.44, allocations: 0 / 0.7713 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004855/0.4405, allocations: 285.7 kB / 0.7715 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.4405, allocations: 54.53 kB / 0.7716 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.4408, allocations: 324 kB / 0.7719 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.4408, allocations: 30.89 kB / 0.7719 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.4409, allocations: 187.3 kB / 0.7721 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4409, allocations: 49.92 kB / 0.7721 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4409, allocations: 49.98 kB / 0.7722 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.441, allocations: 339.6 kB / 0.7725 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.4411, allocations: 71.83 kB / 0.7726 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4412, allocations: 198 kB / 0.7728 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4414, allocations: 183 kB / 0.7729 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4414, allocations: 0 / 0.7729 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002981/0.4417, allocations: 253.9 kB / 0.7732 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4418, allocations: 5.875 kB / 0.7732 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4418, allocations: 5.031 kB / 0.7732 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4418, allocations: 2.562 kB / 0.7732 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4419, allocations: 42.47 kB / 0.7732 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4419, allocations: 3.047 kB / 0.7732 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.442, allocations: 29.42 kB / 0.7733 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.442, allocations: 8.078 kB / 0.7733 GB, free: 2.031 MB / 0.6355 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 (22): * Single equations (assignments): 22 * 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 8.995e-05/0.4421, allocations: 155.2 kB / 0.7734 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.4422, allocations: 32.73 kB / 0.7735 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.4425, allocations: 222.1 kB / 0.7737 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4425, allocations: 1.344 kB / 0.7737 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4425, allocations: 0 / 0.7737 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4425, allocations: 1.984 kB / 0.7737 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.4431, allocations: 0.6369 MB / 0.7743 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4431, allocations: 1.906 kB / 0.7743 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.4432, allocations: 29.28 kB / 0.7743 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4432, allocations: 2.781 kB / 0.7743 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4433, allocations: 8.453 kB / 0.7743 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4433, allocations: 7.422 kB / 0.7743 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4433, allocations: 7.25 kB / 0.7743 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.4437, allocations: 435.2 kB / 0.7748 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4437, allocations: 46.11 kB / 0.7748 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4438, allocations: 3.781 kB / 0.7748 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.4439, allocations: 12.98 kB / 0.7748 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.4439, allocations: 16.59 kB / 0.7748 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4439, allocations: 4.344 kB / 0.7748 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000158/0.4441, allocations: 226.1 kB / 0.7751 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4441, allocations: 5.094 kB / 0.7751 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002661/0.4443, allocations: 83.17 kB / 0.7751 GB, free: 0.875 MB / 0.6355 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 (15): * Single equations (assignments): 15 * 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.0006262/0.445, allocations: 1.009 MB / 0.7761 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.4453, allocations: 173.3 kB / 0.7763 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4453, allocations: 1.125 kB / 0.7763 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4454, allocations: 79.98 kB / 0.7764 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.446, allocations: 167.6 kB / 0.7765 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.4488, allocations: 2.878 MB / 0.7793 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.449, allocations: 177.2 kB / 0.7795 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000165/0.4491, allocations: 69.95 kB / 0.7796 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4493, allocations: 90.42 kB / 0.7797 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/0.4493, allocations: 0 / 0.7797 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.4733, allocations: 10.1 MB / 0.7895 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.415, allocations: 2.688 kB / 0.7895 GB, free: 11.61 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.152676560916007] Failed to read output from testmodel.py, exit status != 0: 7.501492134295404 7.51417656 7.075952401 Calling exit ...