Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001522/0.001522, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.476/1.476, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001826/0.001826, allocations: 107.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2053/0.2053, allocations: 37.97 MB / 295.1 MB, free: 9.512 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.642e-05, allocations: 1.688 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.001/9.114, allocations: 3.661 GB / 4.05 GB, free: 41.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/9.115, allocations: 87.94 kB / 4.05 GB, free: 41.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301/15.42, allocations: 1.414 GB / 5.465 GB, free: 17.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.043e-06/15.42, allocations: 4 kB / 5.465 GB, free: 17.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001528/15.42, allocations: 62.8 kB / 5.465 GB, free: 17.85 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.03009/15.45, allocations: 7.074 MB / 5.472 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/15.45, allocations: 10.84 kB / 5.472 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/15.45, allocations: 276.3 kB / 5.472 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/15.45, allocations: 1.508 MB / 5.473 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/15.45, allocations: 63.56 kB / 5.473 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/15.45, allocations: 106.8 kB / 5.474 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004397/15.46, allocations: 2.861 MB / 5.476 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/15.46, allocations: 2.638 MB / 5.479 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/15.46, allocations: 3.938 kB / 5.479 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/15.46, allocations: 4 kB / 5.479 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/15.46, allocations: 162.9 kB / 5.479 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/15.48, allocations: 11.47 MB / 5.49 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/15.48, allocations: 1.595 MB / 5.492 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/15.48, allocations: 0.6765 MB / 5.493 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002575/15.49, allocations: 2.528 MB / 5.495 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/15.49, allocations: 59.83 kB / 5.495 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001259/15.49, allocations: 168.2 kB / 5.495 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 4.509e-06/15.49, allocations: 0 / 5.495 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.005879/15.49, allocations: 1.947 MB / 5.497 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/15.49, allocations: 196.8 kB / 5.497 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/15.5, allocations: 1.144 MB / 5.498 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/15.5, allocations: 29.7 kB / 5.498 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/15.5, allocations: 1.028 MB / 5.499 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/15.5, allocations: 474.5 kB / 5.5 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/15.5, allocations: 11.55 kB / 5.5 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001763/15.5, allocations: 388.5 kB / 5.5 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/15.5, allocations: 0.7633 MB / 5.501 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/15.5, allocations: 1.434 MB / 5.502 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/15.51, allocations: 3.193 MB / 5.506 GB, free: 156 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/15.51, allocations: 4 kB / 5.506 GB, free: 152 kB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01952/15.53, allocations: 4.717 MB / 5.51 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003726/15.54, allocations: 8.364 MB / 5.518 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/15.54, allocations: 23.98 kB / 5.518 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/15.54, allocations: 253.5 kB / 5.519 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/15.54, allocations: 0.507 MB / 5.519 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4954/16.04, allocations: 1.642 MB / 5.521 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/16.04, allocations: 131.7 kB / 5.521 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007516/16.04, allocations: 165.3 kB / 5.521 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/16.04, allocations: 6.031 kB / 5.521 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02012/16.06, allocations: 4.297 MB / 5.525 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-05/16.06, allocations: 21.58 kB / 5.525 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/16.06, allocations: 137.2 kB / 5.525 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/16.07, allocations: 0.5451 MB / 5.526 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/16.07, allocations: 1.328 MB / 5.527 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/16.07, allocations: 108.3 kB / 5.527 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/16.07, allocations: 163.7 kB / 5.527 GB, free: 48.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007887/16.07, allocations: 173.9 kB / 5.528 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/16.07, allocations: 172.3 kB / 5.528 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00917/16.08, allocations: 3.025 MB / 5.531 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/16.08, allocations: 18.53 kB / 5.531 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/16.08, allocations: 0.5312 kB / 5.531 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/16.08, allocations: 9.672 kB / 5.531 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/16.09, allocations: 6.345 MB / 5.537 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/16.09, allocations: 12.06 kB / 5.537 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/16.1, allocations: 282.8 kB / 5.537 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008248/16.1, allocations: 261.8 kB / 5.537 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/16.1, allocations: 38.94 kB / 5.537 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/16.1, allocations: 1.684 MB / 5.539 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/16.1, allocations: 17.25 kB / 5.539 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00679/16.11, allocations: 3.054 MB / 5.542 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/16.11, allocations: 298 kB / 5.542 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/16.11, allocations: 12.84 kB / 5.542 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/16.11, allocations: 78.17 kB / 5.542 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/16.11, allocations: 136 kB / 5.543 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/16.11, allocations: 103.4 kB / 5.543 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001463/16.11, allocations: 0.8545 MB / 5.544 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/16.11, allocations: 0 / 5.544 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01223/16.12, allocations: 2.938 MB / 5.546 GB, free: 43.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01552/16.14, allocations: 4.474 MB / 5.551 GB, free: 42.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006839/16.14, allocations: 3.635 MB / 5.554 GB, free: 42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/16.14, allocations: 4.25 kB / 5.554 GB, free: 42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/16.15, allocations: 0.8389 MB / 5.555 GB, free: 42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/16.15, allocations: 0.7411 MB / 5.556 GB, free: 41.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/16.16, allocations: 3.104 MB / 5.559 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/16.16, allocations: 1.648 MB / 5.561 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004942/16.16, allocations: 1.058 MB / 5.562 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006967/16.16, allocations: 208.1 kB / 5.562 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/16.16, allocations: 0 / 5.562 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.1139/16.28, allocations: 75.6 MB / 5.636 GB, free: 34.88 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1)