Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001308/0.001308, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.001365/0.001365, allocations: 173 kB / 23.49 MB, free: 1.059 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.9583/0.9583, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8232/0.8232, allocations: 154.6 MB / 414.9 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.5203 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.445e-05/3.709e-05, allocations: 5.641 kB / 0.5204 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5131/0.5131, allocations: 163.7 MB / 0.6802 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.5155, allocations: 1.579 MB / 0.6817 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.5158, allocations: 16.34 kB / 0.6817 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.5163, allocations: 158 kB / 0.6819 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.5177, allocations: 0.7226 MB / 0.6826 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.5189, allocations: 0.6685 MB / 0.6832 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007366/0.5197, allocations: 0.7071 MB / 0.6839 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.52, allocations: 191.8 kB / 0.6841 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008907/0.5209, allocations: 0.5973 MB / 0.6847 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.5211, allocations: 190.8 kB / 0.6849 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.5212, allocations: 23.34 kB / 0.6849 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.5221, allocations: 0.7176 MB / 0.6856 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.5222, allocations: 112.1 kB / 0.6857 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.5224, allocations: 120.9 kB / 0.6858 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.5232, allocations: 0.6438 MB / 0.6865 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5232, allocations: 1.203 kB / 0.6865 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5232, allocations: 0.7812 kB / 0.6865 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.5233, allocations: 0 / 0.6865 GB, free: 47.24 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.0008349/0.5241, allocations: 0.6792 MB / 0.6871 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5241, allocations: 8.5 kB / 0.6871 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5252, allocations: 209.9 kB / 0.6873 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.5257, allocations: 279.8 kB / 0.6876 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.5257, allocations: 16.81 kB / 0.6876 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.5257, allocations: 25.62 kB / 0.6876 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.5261, allocations: 228.6 kB / 0.6879 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5262, allocations: 5.844 kB / 0.6879 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.5262, allocations: 12.31 kB / 0.6879 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5262, allocations: 5.875 kB / 0.6879 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.5264, allocations: 87.59 kB / 0.688 GB, free: 46.42 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.001269/0.5277, allocations: 1.13 MB / 0.6891 GB, free: 45.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.5279, allocations: 83.47 kB / 0.6891 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.5279, allocations: 45.84 kB / 0.6892 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/0.5283, allocations: 65.19 kB / 0.6892 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5283, allocations: 40.61 kB / 0.6893 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.405e-06/0.5283, allocations: 0 / 0.6893 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004899/0.5288, allocations: 163.3 kB / 0.6894 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.5288, allocations: 54.34 kB / 0.6895 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.529, allocations: 291 kB / 0.6898 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.5291, allocations: 29.14 kB / 0.6898 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5292, allocations: 244 kB / 0.69 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.5292, allocations: 53.53 kB / 0.6901 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.5293, allocations: 48.78 kB / 0.6901 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.5294, allocations: 0.5101 MB / 0.6906 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.5294, allocations: 20.98 kB / 0.6906 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.5296, allocations: 167.6 kB / 0.6908 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5297, allocations: 121.8 kB / 0.6909 GB, free: 44.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5297, allocations: 0.7188 kB / 0.6909 GB, free: 44.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002868/0.53, allocations: 167.2 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5301, allocations: 11.31 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5301, allocations: 0.9062 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5301, allocations: 4.203 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.5302, allocations: 37.48 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.5303, allocations: 6.062 kB / 0.6911 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.5304, allocations: 24.28 kB / 0.6912 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.5304, allocations: 8.875 kB / 0.6912 GB, free: 44.18 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.21e-05/0.5305, allocations: 173 kB / 0.6913 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.5306, allocations: 34.08 kB / 0.6914 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.5308, allocations: 127.1 kB / 0.6915 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5308, allocations: 2.906 kB / 0.6915 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5308, allocations: 0.8125 kB / 0.6915 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5309, allocations: 0 / 0.6915 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.5316, allocations: 0.5731 MB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5316, allocations: 4.031 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5317, allocations: 31.55 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5317, allocations: 7.016 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5317, allocations: 6.625 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5318, allocations: 3.5 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5318, allocations: 2.719 kB / 0.6921 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.5321, allocations: 358.7 kB / 0.6924 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.5322, allocations: 42.61 kB / 0.6925 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5323, allocations: 7.062 kB / 0.6925 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.5324, allocations: 9.781 kB / 0.6925 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5325, allocations: 20.83 kB / 0.6925 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5325, allocations: 9.781 kB / 0.6925 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001424/0.5326, allocations: 202.8 kB / 0.6927 GB, free: 43.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5326, allocations: 0 / 0.6927 GB, free: 43.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004792/0.5331, allocations: 87.06 kB / 0.6928 GB, free: 43.15 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.0003215/0.5334, allocations: 153.6 kB / 0.693 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.5337, allocations: 97.02 kB / 0.693 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5337, allocations: 4.031 kB / 0.6931 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.5338, allocations: 51.34 kB / 0.6931 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.5345, allocations: 127.5 kB / 0.6932 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.5361, allocations: 0.5718 MB / 0.6938 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.5362, allocations: 98.52 kB / 0.6939 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.5364, allocations: 50.91 kB / 0.6939 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.5364, allocations: 23.12 kB / 0.6939 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.5364, allocations: 0 / 0.6939 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.01194/0.5484, allocations: 4.83 MB / 0.6987 GB, free: 42.35 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.434355620993301]