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.001848/0.001848, allocations: 89.47 kB / 19.44 MB, free: 320 kB / 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.002271/0.002271, allocations: 173.2 kB / 22.77 MB, free: 1.641 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 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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-535:34: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-535:42: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.42/1.42, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 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 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 2.195e-06/2.195e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.19e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5709/0.5709, allocations: 163.6 MB / 0.6796 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.5735, allocations: 1.581 MB / 0.6812 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.5738, allocations: 16.38 kB / 0.6812 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.5744, allocations: 159.4 kB / 0.6813 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.5761, allocations: 0.7193 MB / 0.682 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.5777, allocations: 0.6732 MB / 0.6827 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.5785, allocations: 0.7012 MB / 0.6834 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.5788, allocations: 196.7 kB / 0.6836 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5798, allocations: 0.5936 MB / 0.6842 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.5801, allocations: 191.9 kB / 0.6843 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.5802, allocations: 24.03 kB / 0.6844 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.5815, allocations: 0.7156 MB / 0.6851 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5816, allocations: 114.7 kB / 0.6852 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.5817, allocations: 117 kB / 0.6853 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5828, allocations: 0.7357 MB / 0.686 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5828, allocations: 3.5 kB / 0.686 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5828, allocations: 1.203 kB / 0.686 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5828, allocations: 0.6875 kB / 0.686 GB, free: 47.25 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.0008602/0.5837, allocations: 0.6878 MB / 0.6867 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5837, allocations: 17.73 kB / 0.6867 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5848, allocations: 209.3 kB / 0.6869 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.5853, allocations: 273.1 kB / 0.6871 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5853, allocations: 17.66 kB / 0.6872 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.5853, allocations: 22.09 kB / 0.6872 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.5857, allocations: 262.6 kB / 0.6874 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5857, allocations: 0.9688 kB / 0.6874 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.5858, allocations: 13.78 kB / 0.6875 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.5858, allocations: 5.844 kB / 0.6875 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.5861, allocations: 145.2 kB / 0.6876 GB, free: 46.45 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.5872, allocations: 1.191 MB / 0.6888 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5875, allocations: 124.5 kB / 0.6889 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5876, allocations: 61.05 kB / 0.6889 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/0.588, allocations: 67.53 kB / 0.689 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.588, allocations: 37.02 kB / 0.689 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.588, allocations: 0 / 0.689 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006114/0.5886, allocations: 231.6 kB / 0.6893 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.5887, allocations: 54.22 kB / 0.6893 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.5889, allocations: 326 kB / 0.6896 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5889, allocations: 31.92 kB / 0.6896 GB, free: 45.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.589, allocations: 247.2 kB / 0.6899 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.589, allocations: 53.19 kB / 0.6899 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.5891, allocations: 52.7 kB / 0.69 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5892, allocations: 0.516 MB / 0.6905 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5893, allocations: 49.06 kB / 0.6905 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5895, allocations: 192.8 kB / 0.6907 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.5897, allocations: 177.8 kB / 0.6909 GB, free: 44.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5897, allocations: 0 / 0.6909 GB, free: 44.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003604/0.5901, allocations: 217.2 kB / 0.6911 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5901, allocations: 6.438 kB / 0.6911 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5901, allocations: 1.094 kB / 0.6911 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5901, allocations: 3.781 kB / 0.6911 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.5903, allocations: 40.59 kB / 0.6911 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5903, allocations: 4.062 kB / 0.6912 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5905, allocations: 19.05 kB / 0.6912 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.5905, allocations: 14.95 kB / 0.6912 GB, free: 44.21 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 0.0001083/0.5906, allocations: 183.2 kB / 0.6914 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.5907, allocations: 35.81 kB / 0.6914 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.591, allocations: 176 kB / 0.6916 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.591, allocations: 0.8438 kB / 0.6916 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.591, allocations: 1.203 kB / 0.6916 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.591, allocations: 3.344 kB / 0.6916 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.5919, allocations: 0.6532 MB / 0.6922 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5919, allocations: 8.844 kB / 0.6922 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.592, allocations: 36.19 kB / 0.6922 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.592, allocations: 3.594 kB / 0.6922 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.592, allocations: 5.5 kB / 0.6923 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.592, allocations: 3.344 kB / 0.6923 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.592, allocations: 0 / 0.6923 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.5925, allocations: 450.5 kB / 0.6927 GB, free: 43.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.5926, allocations: 40.77 kB / 0.6927 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.5926, allocations: 2.781 kB / 0.6927 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.5928, allocations: 13.22 kB / 0.6927 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.5928, allocations: 13.45 kB / 0.6928 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.5928, allocations: 9.281 kB / 0.6928 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001286/0.593, allocations: 224.2 kB / 0.693 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.593, allocations: 0 / 0.693 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003977/0.5934, allocations: 88.09 kB / 0.6931 GB, free: 43.17 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.0002804/0.5937, allocations: 155.9 kB / 0.6932 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.594, allocations: 149.7 kB / 0.6934 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.594, allocations: 0.9375 kB / 0.6934 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5941, allocations: 75.2 kB / 0.6934 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.5949, allocations: 127.2 kB / 0.6935 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5959, allocations: 0.5656 MB / 0.6941 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5961, allocations: 168.8 kB / 0.6943 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.5963, allocations: 51.84 kB / 0.6943 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.5963, allocations: 25.67 kB / 0.6943 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.5963, allocations: 0 / 0.6943 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.009542/0.6059, allocations: 4.837 MB / 0.6991 GB, free: 42.36 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.929534986033104]