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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 190 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.198/1.198, allocations: 177.9 MB / 484.2 MB, free: 5.414 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001978/0.001978, allocations: 64.2 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.751, allocations: 95.16 MB / 0.7669 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2668/1.018, allocations: 196.2 MB / 0.9586 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02395/1.042, allocations: 14.5 MB / 0.9727 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/1.043, allocations: 51.56 kB / 0.9728 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.045, allocations: 0.5124 MB / 0.9733 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005684/1.051, allocations: 2.002 MB / 0.9752 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/1.054, allocations: 0.9249 MB / 0.9761 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004477/1.058, allocations: 2.624 MB / 0.9787 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/1.06, allocations: 0.8069 MB / 0.9795 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/1.066, allocations: 1.894 MB / 0.9813 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.068, allocations: 0.9702 MB / 0.9823 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/1.068, allocations: 104 kB / 0.9824 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/1.072, allocations: 1.169 MB / 0.9835 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007945/1.073, allocations: 0.5103 MB / 0.984 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/1.074, allocations: 0.6338 MB / 0.9846 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/1.078, allocations: 1.923 MB / 0.9865 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.078, allocations: 0 / 0.9865 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.374e-06/1.078, allocations: 0 / 0.9865 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.655e-05/1.078, allocations: 0 / 0.9865 GB, free: 1.574 MB / 0.7637 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.002911/1.081, allocations: 1.399 MB / 0.9879 GB, free: 144 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.081, allocations: 15.97 kB / 0.9879 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/1.082, allocations: 278.8 kB / 0.9882 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/1.084, allocations: 0.7206 MB / 0.9889 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/1.084, allocations: 66 kB / 0.9889 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/1.084, allocations: 96 kB / 0.989 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/1.086, allocations: 1.169 MB / 0.9902 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/1.086, allocations: 7.938 kB / 0.9902 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/1.086, allocations: 40 kB / 0.9902 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/1.086, allocations: 37.98 kB / 0.9902 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.088, allocations: 0.8976 MB / 0.9911 GB, free: 12.72 MB / 0.7794 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.007477/1.095, allocations: 5.764 MB / 0.9968 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/1.096, allocations: 0.5113 MB / 0.9973 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/1.097, allocations: 298.6 kB / 0.9975 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/1.097, allocations: 88.41 kB / 0.9976 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.097, allocations: 39 kB / 0.9977 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=49): time 3.056e-06/1.097, allocations: 0 / 0.9977 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49): time 0.001715/1.099, allocations: 0.8069 MB / 0.9984 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.099, allocations: 59.78 kB / 0.9985 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.1, allocations: 0.7587 MB / 0.9992 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.1, allocations: 37.7 kB / 0.9993 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/1.101, allocations: 0.5116 MB / 0.9998 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/1.101, allocations: 190.4 kB / 1 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/1.101, allocations: 142.6 kB / 1 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.101, allocations: 338 kB / 1 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/1.102, allocations: 241.9 kB / 1.001 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/1.103, allocations: 0.5508 MB / 1.001 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.104, allocations: 0.8073 MB / 1.002 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.104, allocations: 4 kB / 1.002 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001427/1.105, allocations: 0.8508 MB / 1.003 GB, free: 15.95 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.105, allocations: 8 kB / 1.003 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.105, allocations: 8 kB / 1.003 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/1.105, allocations: 12 kB / 1.003 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/1.106, allocations: 155.8 kB / 1.003 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/1.106, allocations: 23.86 kB / 1.003 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/1.107, allocations: 87.77 kB / 1.003 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/1.107, allocations: 36 kB / 1.003 GB, free: 15.63 MB / 0.795 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.0005361/1.107, allocations: 330 kB / 1.003 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.107, allocations: 95.39 kB / 1.004 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.108, allocations: 0.614 MB / 1.004 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.108, allocations: 4 kB / 1.004 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.108, allocations: 3.938 kB / 1.004 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007843/1.109, allocations: 0.5289 MB / 1.005 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/1.112, allocations: 1.631 MB / 1.006 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.112, allocations: 12.02 kB / 1.006 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/1.112, allocations: 115.8 kB / 1.006 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.112, allocations: 4 kB / 1.006 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/1.113, allocations: 16 kB / 1.006 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.113, allocations: 4 kB / 1.006 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.113, allocations: 0 / 1.006 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/1.114, allocations: 1.019 MB / 1.007 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/1.114, allocations: 159.3 kB / 1.008 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.114, allocations: 8 kB / 1.008 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.115, allocations: 27.55 kB / 1.008 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.115, allocations: 31.89 kB / 1.008 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/1.115, allocations: 19.98 kB / 1.008 GB, free: 10.88 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006928/1.116, allocations: 0.5107 MB / 1.008 GB, free: 10.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/1.116, allocations: 0 / 1.008 GB, free: 10.38 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009734/1.117, allocations: 303.4 kB / 1.008 GB, free: 10.08 MB / 0.795 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.000564/1.117, allocations: 201.5 kB / 1.009 GB, free: 9.887 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.118, allocations: 0.5883 MB / 1.009 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.118, allocations: 4 kB / 1.009 GB, free: 9.297 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/1.119, allocations: 264.6 kB / 1.009 GB, free: 9.039 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.121, allocations: 439.9 kB / 1.01 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/1.124, allocations: 1.961 MB / 1.012 GB, free: 6.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/1.125, allocations: 1.126 MB / 1.013 GB, free: 5.445 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007995/1.126, allocations: 271 kB / 1.013 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/1.126, allocations: 75.42 kB / 1.013 GB, free: 5.102 MB / 0.795 GB Notification: Performance of SimCode: time 1.443e-06/1.126, allocations: 0 / 1.013 GB, free: 5.102 MB / 0.795 GB Notification: Performance of Templates: time 0.03194/1.158, allocations: 16.09 MB / 1.029 GB, free: 5.238 MB / 0.8106 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.756096840836108] Failed to read output from testmodel.py, exit status != 0: 1.1667681345716119 1.182592944 0.101087854 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdea81217b0>