Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.0009892/0.0009892, allocations: 89.06 kB / 19.65 MB, free: 280 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.001058/0.001058, allocations: 165 kB / 23.02 MB, free: 1.551 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.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.629 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-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 0.8354/0.8354, allocations: 154.8 MB / 414.7 MB, free: 496 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 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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.146e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1622/0.1622, allocations: 152 MB / 0.669 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005384/0.1676, allocations: 4.14 MB / 0.673 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.1681, allocations: 47.62 kB / 0.6731 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.1689, allocations: 285.9 kB / 0.6733 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.1706, allocations: 1.278 MB / 0.6746 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1718, allocations: 0.8065 MB / 0.6754 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.1735, allocations: 2.584 MB / 0.6779 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2821/0.4556, allocations: 0.8298 MB / 0.6787 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.458, allocations: 1.38 MB / 0.6801 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.4591, allocations: 0.8747 MB / 0.6809 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.4592, allocations: 108.3 kB / 0.681 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009214/0.4602, allocations: 0.5295 MB / 0.6815 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.4606, allocations: 0.5404 MB / 0.6821 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.461, allocations: 461.7 kB / 0.6825 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.4624, allocations: 1.252 MB / 0.6837 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4624, allocations: 1.203 kB / 0.6837 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4624, allocations: 3.188 kB / 0.6837 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.4624, allocations: 0 / 0.6837 GB, free: 48.79 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001348/0.4638, allocations: 1.49 MB / 0.6852 GB, free: 47.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4638, allocations: 11.28 kB / 0.6852 GB, free: 47.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.4646, allocations: 356.2 kB / 0.6855 GB, free: 47.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.4654, allocations: 0.7499 MB / 0.6863 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.4655, allocations: 70.22 kB / 0.6863 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.4656, allocations: 101.1 kB / 0.6864 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.4663, allocations: 0.9454 MB / 0.6873 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4664, allocations: 7.375 kB / 0.6874 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.4664, allocations: 41.78 kB / 0.6874 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.4664, allocations: 37.11 kB / 0.6874 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.467, allocations: 381.3 kB / 0.6878 GB, free: 47.14 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.002442/0.4694, allocations: 4.694 MB / 0.6924 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.4698, allocations: 276.2 kB / 0.6926 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4699, allocations: 144.1 kB / 0.6928 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.4701, allocations: 59.59 kB / 0.6928 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4702, allocations: 40.77 kB / 0.6929 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/0.4702, allocations: 0 / 0.6929 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.000668/0.4708, allocations: 470.5 kB / 0.6933 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.4709, allocations: 57.69 kB / 0.6934 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4713, allocations: 0.6568 MB / 0.694 GB, free: 43.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4713, allocations: 40.3 kB / 0.6941 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4715, allocations: 0.5758 MB / 0.6946 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.4716, allocations: 188.9 kB / 0.6948 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4717, allocations: 152.9 kB / 0.6949 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.4718, allocations: 0.5668 MB / 0.6955 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4719, allocations: 91.77 kB / 0.6956 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.4722, allocations: 0.7937 MB / 0.6964 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.4726, allocations: 0.5883 MB / 0.6969 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4726, allocations: 2.594 kB / 0.6969 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005749/0.4732, allocations: 0.5715 MB / 0.6975 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4732, allocations: 14.72 kB / 0.6975 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4732, allocations: 8.594 kB / 0.6975 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4732, allocations: 11.28 kB / 0.6975 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.4735, allocations: 160.7 kB / 0.6977 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4735, allocations: 17.86 kB / 0.6977 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.4738, allocations: 73.67 kB / 0.6978 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4739, allocations: 35.31 kB / 0.6978 GB, free: 41.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.000141/0.474, allocations: 210.2 kB / 0.698 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.4741, allocations: 98.05 kB / 0.6981 GB, free: 41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.4745, allocations: 383.7 kB / 0.6985 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4745, allocations: 7.516 kB / 0.6985 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4745, allocations: 0 / 0.6985 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002724/0.4748, allocations: 287.3 kB / 0.6987 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4759, allocations: 1.211 MB / 0.6999 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4759, allocations: 3.406 kB / 0.6999 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.4762, allocations: 112.7 kB / 0.7 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4762, allocations: 2.625 kB / 0.7 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4762, allocations: 16.09 kB / 0.7001 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4762, allocations: 2.688 kB / 0.7001 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4762, allocations: 3.781 kB / 0.7001 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.4768, allocations: 0.6682 MB / 0.7007 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.4769, allocations: 141.8 kB / 0.7008 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.477, allocations: 12.84 kB / 0.7009 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4772, allocations: 11.09 kB / 0.7009 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4772, allocations: 41.92 kB / 0.7009 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4772, allocations: 19.45 kB / 0.7009 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002523/0.4775, allocations: 405.7 kB / 0.7013 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4775, allocations: 0 / 0.7013 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004762/0.478, allocations: 312.9 kB / 0.7016 GB, free: 39.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003219/0.4783, allocations: 185.3 kB / 0.7018 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.4787, allocations: 362.1 kB / 0.7021 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4787, allocations: 2.844 kB / 0.7021 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.4789, allocations: 159.8 kB / 0.7023 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.4798, allocations: 382.7 kB / 0.7027 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.4816, allocations: 1.652 MB / 0.7043 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.4817, allocations: 248.9 kB / 0.7045 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.4821, allocations: 218.3 kB / 0.7047 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4823, allocations: 67.28 kB / 0.7048 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4823, allocations: 0 / 0.7048 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.01931/0.5016, allocations: 14.18 MB / 0.7186 GB, free: 37.55 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.74871717998758]