Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001513/0.001513, allocations: 93.16 kB / 19.65 MB, free: 292 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.002223/0.002223, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.995/0.995, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.7743/0.7743, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.338e-05, allocations: 6.562 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1437/0.1437, allocations: 152 MB / 0.6687 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.1495, allocations: 4.139 MB / 0.6728 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.1501, allocations: 51.56 kB / 0.6728 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.1509, allocations: 282 kB / 0.6731 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.1529, allocations: 1.27 MB / 0.6743 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.1544, allocations: 0.8259 MB / 0.6751 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.157, allocations: 2.582 MB / 0.6777 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3059/0.4628, allocations: 0.8332 MB / 0.6785 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.4658, allocations: 1.547 MB / 0.68 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.4669, allocations: 0.8425 MB / 0.6808 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.4671, allocations: 104.5 kB / 0.6809 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008476/0.4679, allocations: 430.4 kB / 0.6813 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.4683, allocations: 0.5403 MB / 0.6819 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.4688, allocations: 457.6 kB / 0.6823 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4703, allocations: 1.217 MB / 0.6835 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4703, allocations: 0.875 kB / 0.6835 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4703, allocations: 0 / 0.6835 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.737e-05/0.4704, allocations: 1.469 kB / 0.6835 GB, free: 48.88 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.001513/0.4719, allocations: 1.479 MB / 0.6849 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4719, allocations: 8.344 kB / 0.6849 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.4727, allocations: 334.9 kB / 0.6853 GB, free: 48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.4736, allocations: 0.7313 MB / 0.686 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.4736, allocations: 68.78 kB / 0.686 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.4737, allocations: 97.81 kB / 0.6861 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.4745, allocations: 0.9638 MB / 0.6871 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.4746, allocations: 3.188 kB / 0.6871 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.4746, allocations: 40.34 kB / 0.6871 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.4747, allocations: 33.25 kB / 0.6871 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/0.4752, allocations: 378.8 kB / 0.6875 GB, free: 47.24 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.002827/0.4781, allocations: 4.691 MB / 0.6921 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.4785, allocations: 278.9 kB / 0.6923 GB, free: 44.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4786, allocations: 145.1 kB / 0.6925 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.4789, allocations: 57.16 kB / 0.6925 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4789, allocations: 47.39 kB / 0.6926 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.4789, allocations: 0.5625 kB / 0.6926 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0007243/0.4796, allocations: 468.4 kB / 0.693 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.4796, allocations: 61.44 kB / 0.6931 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.4801, allocations: 0.6582 MB / 0.6937 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.4801, allocations: 38.58 kB / 0.6938 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4804, allocations: 0.5733 MB / 0.6943 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.4805, allocations: 186.2 kB / 0.6945 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.4806, allocations: 152.2 kB / 0.6947 GB, free: 43.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4807, allocations: 0.5661 MB / 0.6952 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4809, allocations: 90.36 kB / 0.6953 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.4812, allocations: 0.7939 MB / 0.6961 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.4818, allocations: 0.589 MB / 0.6966 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4818, allocations: 4.297 kB / 0.6966 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007633/0.4825, allocations: 0.5762 MB / 0.6972 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4826, allocations: 15.38 kB / 0.6972 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4826, allocations: 6.781 kB / 0.6972 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.4826, allocations: 11.66 kB / 0.6972 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.4829, allocations: 159.5 kB / 0.6974 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.4829, allocations: 16.92 kB / 0.6974 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.4833, allocations: 73.58 kB / 0.6975 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.4833, allocations: 34.88 kB / 0.6975 GB, free: 41.3 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.0001567/0.4835, allocations: 207.2 kB / 0.6977 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.4835, allocations: 97.53 kB / 0.6978 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.484, allocations: 385 kB / 0.6982 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.484, allocations: 6.688 kB / 0.6982 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.484, allocations: 0 / 0.6982 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002993/0.4843, allocations: 288.3 kB / 0.6985 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4855, allocations: 1.208 MB / 0.6996 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4855, allocations: 3.844 kB / 0.6996 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4858, allocations: 114.5 kB / 0.6997 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4858, allocations: 7.469 kB / 0.6998 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4858, allocations: 13.16 kB / 0.6998 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4858, allocations: 3.781 kB / 0.6998 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4858, allocations: 2.875 kB / 0.6998 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.4864, allocations: 0.6647 MB / 0.7004 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4866, allocations: 138.9 kB / 0.7006 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.4867, allocations: 16.56 kB / 0.7006 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4869, allocations: 17.44 kB / 0.7006 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.4869, allocations: 41.33 kB / 0.7006 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4869, allocations: 18.44 kB / 0.7006 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002816/0.4872, allocations: 405.1 kB / 0.701 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4872, allocations: 3 kB / 0.701 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005525/0.4878, allocations: 307.9 kB / 0.7013 GB, free: 40 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.0003974/0.4882, allocations: 178.7 kB / 0.7015 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.4886, allocations: 361.5 kB / 0.7018 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4886, allocations: 3.906 kB / 0.7018 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4888, allocations: 161.9 kB / 0.702 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.4897, allocations: 386.3 kB / 0.7024 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.4918, allocations: 1.66 MB / 0.704 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.492, allocations: 245.8 kB / 0.7042 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.4924, allocations: 222.3 kB / 0.7044 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4925, allocations: 63.2 kB / 0.7045 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of SimCode: time 1.293e-06/0.4925, allocations: 3.828 kB / 0.7045 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.02064/0.5132, allocations: 15.04 MB / 0.7192 GB, free: 37.49 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.560602083802223]