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.0007701/0.0007701, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008075/0.0008075, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9002/0.9002, allocations: 177.1 MB / 203.5 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.6976/0.6976, allocations: 154.6 MB / 414.5 MB, free: 0.8203 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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.843e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4237/0.4237, allocations: 147.6 MB / 0.7634 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.4263, allocations: 1.488 MB / 0.7649 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.4267, allocations: 19.38 kB / 0.7649 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.4272, allocations: 160.1 kB / 0.765 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.4292, allocations: 0.7146 MB / 0.7657 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4311, allocations: 0.6813 MB / 0.7664 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.4323, allocations: 0.7064 MB / 0.7671 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.4328, allocations: 191 kB / 0.7673 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.4343, allocations: 0.5859 MB / 0.7678 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.4347, allocations: 190.2 kB / 0.768 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.4347, allocations: 23.06 kB / 0.768 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.4365, allocations: 0.7129 MB / 0.7687 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.4367, allocations: 120.3 kB / 0.7689 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.4369, allocations: 115.7 kB / 0.769 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.4384, allocations: 0.7327 MB / 0.7697 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4384, allocations: 1.312 kB / 0.7697 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4384, allocations: 0 / 0.7697 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.4384, allocations: 0 / 0.7697 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.00106/0.4395, allocations: 0.582 MB / 0.7703 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4395, allocations: 11.12 kB / 0.7703 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007693/0.4403, allocations: 155.1 kB / 0.7704 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.4408, allocations: 263.4 kB / 0.7707 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4408, allocations: 18.22 kB / 0.7707 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.4408, allocations: 23.41 kB / 0.7707 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.4413, allocations: 274.4 kB / 0.771 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4413, allocations: 0 / 0.771 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4413, allocations: 10.47 kB / 0.771 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4413, allocations: 10.53 kB / 0.771 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.4416, allocations: 197.6 kB / 0.7712 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.4426, allocations: 0.9167 MB / 0.7721 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.4428, allocations: 127.3 kB / 0.7722 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.443, allocations: 91.56 kB / 0.7723 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/0.4433, allocations: 71.05 kB / 0.7723 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4433, allocations: 32.98 kB / 0.7724 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.4433, allocations: 2.156 kB / 0.7724 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005593/0.4439, allocations: 278.3 kB / 0.7726 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4439, allocations: 58.22 kB / 0.7727 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.4441, allocations: 244.8 kB / 0.7729 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4441, allocations: 35.42 kB / 0.773 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.4442, allocations: 190.5 kB / 0.7732 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4443, allocations: 52.55 kB / 0.7732 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.4443, allocations: 46.41 kB / 0.7732 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.4444, allocations: 336.8 kB / 0.7736 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4445, allocations: 63.92 kB / 0.7736 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.4447, allocations: 197.4 kB / 0.7738 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.4449, allocations: 186.9 kB / 0.774 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4449, allocations: 0 / 0.774 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003121/0.4452, allocations: 246.8 kB / 0.7742 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4453, allocations: 5.75 kB / 0.7742 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4453, allocations: 1.188 kB / 0.7742 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4453, allocations: 6.953 kB / 0.7742 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4454, allocations: 38.92 kB / 0.7743 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4454, allocations: 2.922 kB / 0.7743 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4455, allocations: 28.06 kB / 0.7743 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4456, allocations: 15.64 kB / 0.7743 GB, free: 2.148 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 9.626e-05/0.4456, allocations: 150.2 kB / 0.7745 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4457, allocations: 26.7 kB / 0.7745 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.446, allocations: 216.2 kB / 0.7747 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.446, allocations: 2.25 kB / 0.7747 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.446, allocations: 0.5625 kB / 0.7747 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.446, allocations: 1.594 kB / 0.7747 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.4467, allocations: 0.6 MB / 0.7753 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4467, allocations: 3.375 kB / 0.7753 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.4468, allocations: 33.05 kB / 0.7753 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4468, allocations: 6.578 kB / 0.7753 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4468, allocations: 7.75 kB / 0.7753 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.4468, allocations: 7.797 kB / 0.7753 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4468, allocations: 4.094 kB / 0.7753 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4472, allocations: 422.6 kB / 0.7758 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.4473, allocations: 41.62 kB / 0.7758 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4473, allocations: 3.828 kB / 0.7758 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.4474, allocations: 11.56 kB / 0.7758 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.4475, allocations: 21.52 kB / 0.7758 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4475, allocations: 8.562 kB / 0.7758 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4476, allocations: 179 kB / 0.776 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4476, allocations: 0 / 0.776 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003437/0.4479, allocations: 89.34 kB / 0.7761 GB, free: 1.051 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.0002685/0.4482, allocations: 149.9 kB / 0.7762 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.4485, allocations: 169.9 kB / 0.7764 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4485, allocations: 1.344 kB / 0.7764 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.4486, allocations: 84.41 kB / 0.7765 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.4491, allocations: 123.6 kB / 0.7766 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.4499, allocations: 0.5871 MB / 0.7772 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.45, allocations: 169 kB / 0.7773 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.4501, allocations: 25.02 kB / 0.7774 GB, free: 336 kB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4501, allocations: 0 / 0.7774 GB, free: 336 kB / 0.6355 GB Notification: Performance of Templates: time 0.007403/0.4575, allocations: 4.38 MB / 0.7816 GB, free: 15.9 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.601022536866367] Failed to read output from testmodel.py, exit status != 0: 0.4638148099184036 0.47301302199999995 0.032533252 Calling exit ...