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.001841/0.001841, allocations: 80.09 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002228/0.002228, allocations: 168.4 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.218/1.218, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.894e-06/1.894e-06, allocations: 0 / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.7e-05, allocations: 12.61 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6446/0.6447, allocations: 147.6 MB / 0.7627 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.6485, allocations: 1.493 MB / 0.7641 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.649, allocations: 14.75 kB / 0.7641 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.6496, allocations: 160.2 kB / 0.7643 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.652, allocations: 0.7133 MB / 0.765 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.6544, allocations: 0.6834 MB / 0.7656 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.6557, allocations: 0.7122 MB / 0.7663 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.6561, allocations: 182.3 kB / 0.7665 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.6575, allocations: 0.5932 MB / 0.7671 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.6579, allocations: 185.3 kB / 0.7673 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.6579, allocations: 22.94 kB / 0.7673 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.6596, allocations: 0.7217 MB / 0.768 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.6598, allocations: 109 kB / 0.7681 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.6599, allocations: 120.7 kB / 0.7682 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.6612, allocations: 0.7306 MB / 0.7689 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6612, allocations: 0 / 0.7689 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6612, allocations: 0 / 0.7689 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6612, allocations: 2.344 kB / 0.7689 GB, free: 12.19 MB / 0.6231 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.001065/0.6623, allocations: 0.5792 MB / 0.7695 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6623, allocations: 7.906 kB / 0.7695 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6635, allocations: 161 kB / 0.7697 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.6641, allocations: 260.5 kB / 0.7699 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.6641, allocations: 13.53 kB / 0.7699 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.6642, allocations: 22.31 kB / 0.7699 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.6648, allocations: 282.9 kB / 0.7702 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6648, allocations: 0 / 0.7702 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.6648, allocations: 7.906 kB / 0.7702 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.6648, allocations: 8.5 kB / 0.7702 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.6653, allocations: 198.3 kB / 0.7704 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.6667, allocations: 0.922 MB / 0.7713 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.667, allocations: 138.9 kB / 0.7714 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.6672, allocations: 86.67 kB / 0.7715 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.6677, allocations: 70.58 kB / 0.7716 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6678, allocations: 33.16 kB / 0.7716 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.6678, allocations: 0 / 0.7716 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008281/0.6686, allocations: 280.7 kB / 0.7719 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.6687, allocations: 55.34 kB / 0.7719 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.669, allocations: 248 kB / 0.7722 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.669, allocations: 29.7 kB / 0.7722 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6691, allocations: 190.8 kB / 0.7724 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.6692, allocations: 53 kB / 0.7724 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.6693, allocations: 45.89 kB / 0.7725 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6695, allocations: 334 kB / 0.7728 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.6696, allocations: 66.11 kB / 0.7729 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.6699, allocations: 197.8 kB / 0.7731 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.6703, allocations: 195.8 kB / 0.7732 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6703, allocations: 0 / 0.7732 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004964/0.6708, allocations: 239.5 kB / 0.7735 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6708, allocations: 5.844 kB / 0.7735 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6708, allocations: 0 / 0.7735 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6709, allocations: 2.531 kB / 0.7735 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.6711, allocations: 51.94 kB / 0.7735 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6711, allocations: 2.781 kB / 0.7735 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.6713, allocations: 31.33 kB / 0.7736 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.6713, allocations: 5.406 kB / 0.7736 GB, free: 8.625 MB / 0.6231 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 0.0001775/0.6715, allocations: 144.8 kB / 0.7737 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.6715, allocations: 27.23 kB / 0.7737 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.672, allocations: 220.8 kB / 0.7739 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.672, allocations: 6.188 kB / 0.774 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.672, allocations: 3.562 kB / 0.774 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.672, allocations: 0 / 0.774 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.6731, allocations: 0.6027 MB / 0.7745 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6731, allocations: 6.75 kB / 0.7745 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.6733, allocations: 35.8 kB / 0.7746 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6733, allocations: 2.969 kB / 0.7746 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6733, allocations: 1.969 kB / 0.7746 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6733, allocations: 9.859 kB / 0.7746 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6733, allocations: 2.906 kB / 0.7746 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.6741, allocations: 423.1 kB / 0.775 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.6742, allocations: 45.62 kB / 0.775 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.6742, allocations: 3.141 kB / 0.775 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6744, allocations: 13.89 kB / 0.7751 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.6744, allocations: 25.28 kB / 0.7751 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6745, allocations: 9.078 kB / 0.7751 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001851/0.6746, allocations: 173.7 kB / 0.7753 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6746, allocations: 0 / 0.7753 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004669/0.6751, allocations: 90.09 kB / 0.7753 GB, free: 7.324 MB / 0.6231 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.0003402/0.6755, allocations: 152.6 kB / 0.7755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.6759, allocations: 162.4 kB / 0.7756 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6759, allocations: 0 / 0.7756 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.6761, allocations: 83.61 kB / 0.7757 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.6769, allocations: 115.5 kB / 0.7758 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.678, allocations: 0.564 MB / 0.7764 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.6782, allocations: 164.7 kB / 0.7765 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.6784, allocations: 56.91 kB / 0.7766 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.6785, allocations: 22.72 kB / 0.7766 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.6785, allocations: 0 / 0.7766 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.009965/0.6885, allocations: 4.742 MB / 0.7813 GB, free: 4.102 MB / 0.6231 GB " [Timeout remaining time 659] 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.736631345003843] Failed to read output from testmodel.py, exit status != 0: 0.6981591694056988 0.712142084 0.047899623 Calling exit ...