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.01111/0.01111, allocations: 163.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.637/1.637, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001766/0.001766, allocations: 119.2 kB / 226.2 MB, free: 10.1 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.4325/0.4325, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 16 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.122/9.274, allocations: 3.662 GB / 4.064 GB, free: 9.328 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/9.274, allocations: 88.64 kB / 4.064 GB, free: 9.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.277/15.55, allocations: 1.43 GB / 5.493 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/15.55, allocations: 0 / 5.493 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001929/15.55, allocations: 61.19 kB / 5.494 GB, free: 21.68 MB / 0.5105 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.04044/15.59, allocations: 7.312 MB / 5.501 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/15.59, allocations: 11.31 kB / 5.501 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/15.59, allocations: 279.1 kB / 5.501 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/15.6, allocations: 1.52 MB / 5.502 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/15.6, allocations: 141.9 kB / 5.503 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/15.6, allocations: 180.2 kB / 5.503 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005612/15.61, allocations: 2.969 MB / 5.506 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/15.61, allocations: 10.75 kB / 5.506 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/15.61, allocations: 81.28 kB / 5.506 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/15.61, allocations: 161.9 kB / 5.506 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/15.61, allocations: 3.241 MB / 5.509 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/15.63, allocations: 10.9 MB / 5.52 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/15.63, allocations: 1.878 MB / 5.522 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003198/15.64, allocations: 3.495 MB / 5.525 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/15.64, allocations: 55.81 kB / 5.525 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001863/15.64, allocations: 207.9 kB / 5.525 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.22e-06/15.64, allocations: 0 / 5.525 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.005749/15.65, allocations: 2.831 MB / 5.528 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/15.65, allocations: 201.2 kB / 5.528 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/15.65, allocations: 1.329 MB / 5.529 GB, free: 316 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/15.65, allocations: 57.7 kB / 5.529 GB, free: 252 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/15.65, allocations: 0.9843 MB / 5.53 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/15.65, allocations: 0.5199 MB / 5.531 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/15.65, allocations: 51.94 kB / 5.531 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002117/15.65, allocations: 389.2 kB / 5.531 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/15.65, allocations: 0.847 MB / 5.532 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/15.65, allocations: 1.531 MB / 5.534 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/15.66, allocations: 1.24 MB / 5.535 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/15.66, allocations: 4 kB / 5.535 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005895/15.66, allocations: 2.992 MB / 5.538 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.5791/16.24, allocations: 8.436 MB / 5.546 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/16.24, allocations: 20.41 kB / 5.546 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004336/16.25, allocations: 0.6285 MB / 5.547 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/16.25, allocations: 0.4942 MB / 5.547 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/16.25, allocations: 1.514 MB / 5.549 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/16.25, allocations: 170.7 kB / 5.549 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006291/16.25, allocations: 162.8 kB / 5.549 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/16.25, allocations: 3.438 kB / 5.549 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006261/16.26, allocations: 2.7 MB / 5.552 GB, free: 37.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/16.26, allocations: 19.19 kB / 5.552 GB, free: 37.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/16.26, allocations: 341.3 kB / 5.552 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/16.26, allocations: 0.5516 MB / 5.552 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/16.27, allocations: 1.259 MB / 5.554 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/16.27, allocations: 152.7 kB / 5.554 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/16.27, allocations: 165.1 kB / 5.554 GB, free: 36.58 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 () * Number of clocked 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.002132/16.27, allocations: 0.631 MB / 5.555 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/16.27, allocations: 186.4 kB / 5.555 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007593/16.28, allocations: 3.211 MB / 5.558 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/16.28, allocations: 18.8 kB / 5.558 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/16.28, allocations: 0 / 5.558 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/16.28, allocations: 10.08 kB / 5.558 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/16.29, allocations: 4.654 MB / 5.563 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/16.29, allocations: 4.75 kB / 5.563 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/16.29, allocations: 306 kB / 5.563 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/16.29, allocations: 0.5664 MB / 5.563 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/16.29, allocations: 63.64 kB / 5.563 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/16.3, allocations: 1.52 MB / 5.565 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/16.3, allocations: 8.094 kB / 5.565 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/16.3, allocations: 2.594 MB / 5.567 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/16.3, allocations: 293.6 kB / 5.568 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/16.3, allocations: 41.45 kB / 5.568 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/16.31, allocations: 107.4 kB / 5.568 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/16.31, allocations: 133.6 kB / 5.568 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003055/16.31, allocations: 121 kB / 5.568 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002253/16.31, allocations: 1.04 MB / 5.569 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/16.31, allocations: 0 / 5.569 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01846/16.33, allocations: 3.075 MB / 5.572 GB, free: 33.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 simulation (159): * Single equations (assignments): 156 * 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.0228/16.35, allocations: 4.151 MB / 5.576 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01057/16.36, allocations: 3.967 MB / 5.58 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-05/16.36, allocations: 2.031 kB / 5.58 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/16.36, allocations: 0.9648 MB / 5.581 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/16.37, allocations: 0.8451 MB / 5.582 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/16.38, allocations: 4.712 MB / 5.586 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/16.38, allocations: 1.655 MB / 5.588 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006543/16.39, allocations: 1.047 MB / 5.589 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/16.39, allocations: 234.9 kB / 5.589 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/16.39, allocations: 0 / 5.589 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.1487/16.54, allocations: 91.24 MB / 5.678 GB, free: 23.64 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)