Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008448/0.008448, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.834/1.834, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001998/0.001997, allocations: 120.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2435/0.2435, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005052, allocations: 19.03 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.349/8.513, allocations: 3.668 GB / 4.119 GB, free: 61.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/8.513, allocations: 91.56 kB / 4.119 GB, free: 61.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.865/14.38, allocations: 1.439 GB / 5.558 GB, free: 13.61 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.477e-06/14.38, allocations: 0 / 5.558 GB, free: 13.61 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000213/14.38, allocations: 62.22 kB / 5.558 GB, free: 13.55 MB / 0.573 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.04531/14.42, allocations: 7.309 MB / 5.565 GB, free: 6.203 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/14.42, allocations: 16.03 kB / 5.565 GB, free: 6.188 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/14.43, allocations: 285 kB / 5.565 GB, free: 5.906 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/14.43, allocations: 1.513 MB / 5.567 GB, free: 4.336 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/14.43, allocations: 151.4 kB / 5.567 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/14.43, allocations: 180 kB / 5.567 GB, free: 4.012 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005407/14.44, allocations: 2.961 MB / 5.57 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/14.44, allocations: 0 / 5.57 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/14.44, allocations: 79.97 kB / 5.57 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002006/14.44, allocations: 159.6 kB / 5.57 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6543/15.09, allocations: 3.237 MB / 5.574 GB, free: 35.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/15.12, allocations: 11.25 MB / 5.585 GB, free: 30.33 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/15.13, allocations: 1.871 MB / 5.586 GB, free: 30.29 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004066/15.13, allocations: 3.494 MB / 5.59 GB, free: 26.72 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/15.13, allocations: 61.47 kB / 5.59 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002661/15.14, allocations: 205.3 kB / 5.59 GB, free: 26.63 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 1.94e-05/15.14, allocations: 3.172 kB / 5.59 GB, free: 26.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=150): time 0.008452/15.14, allocations: 2.833 MB / 5.593 GB, free: 26.26 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/15.14, allocations: 201.3 kB / 5.593 GB, free: 26.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/15.15, allocations: 1.326 MB / 5.594 GB, free: 25.88 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/15.15, allocations: 59.92 kB / 5.594 GB, free: 25.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/15.15, allocations: 0.9899 MB / 5.595 GB, free: 25.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006719/15.15, allocations: 0.5157 MB / 5.596 GB, free: 25.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/15.15, allocations: 45.16 kB / 5.596 GB, free: 25.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001802/15.15, allocations: 390.8 kB / 5.596 GB, free: 24.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/15.15, allocations: 0.8459 MB / 5.597 GB, free: 24.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/15.15, allocations: 1.527 MB / 5.599 GB, free: 24.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/15.16, allocations: 1.245 MB / 5.6 GB, free: 23.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/15.16, allocations: 3.531 kB / 5.6 GB, free: 23.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006927/15.16, allocations: 2.988 MB / 5.603 GB, free: 23.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.005461/15.17, allocations: 8.448 MB / 5.611 GB, free: 30.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.729e-05/15.17, allocations: 24.12 kB / 5.611 GB, free: 30.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/15.17, allocations: 0.6308 MB / 5.612 GB, free: 30.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/15.18, allocations: 0.493 MB / 5.612 GB, free: 30.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/15.18, allocations: 1.509 MB / 5.613 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/15.18, allocations: 167.9 kB / 5.614 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/15.18, allocations: 164.5 kB / 5.614 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/15.18, allocations: 4.094 kB / 5.614 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00906/15.19, allocations: 2.697 MB / 5.616 GB, free: 29.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/15.19, allocations: 22.56 kB / 5.616 GB, free: 29.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/15.19, allocations: 346.2 kB / 5.617 GB, free: 29.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/15.2, allocations: 0.5547 MB / 5.617 GB, free: 29.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/15.2, allocations: 1.264 MB / 5.619 GB, free: 28.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/15.2, allocations: 154.8 kB / 5.619 GB, free: 28.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007484/15.2, allocations: 160.5 kB / 5.619 GB, free: 28.58 MB / 0.5886 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.002807/15.21, allocations: 0.6297 MB / 5.619 GB, free: 28.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/15.21, allocations: 190.5 kB / 5.62 GB, free: 28.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008907/15.22, allocations: 3.202 MB / 5.623 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/15.22, allocations: 15.34 kB / 5.623 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/15.22, allocations: 0 / 5.623 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/15.22, allocations: 9.469 kB / 5.623 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/15.23, allocations: 4.653 MB / 5.627 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/15.23, allocations: 8.984 kB / 5.627 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/15.23, allocations: 306.2 kB / 5.628 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/15.23, allocations: 0.5651 MB / 5.628 GB, free: 27.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/15.23, allocations: 67.84 kB / 5.628 GB, free: 27.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/15.24, allocations: 1.513 MB / 5.63 GB, free: 26.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/15.24, allocations: 6.469 kB / 5.63 GB, free: 26.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006626/15.24, allocations: 2.597 MB / 5.632 GB, free: 25.55 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/15.24, allocations: 291.3 kB / 5.633 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/15.25, allocations: 33.78 kB / 5.633 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/15.25, allocations: 108.8 kB / 5.633 GB, free: 25.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/15.25, allocations: 138.8 kB / 5.633 GB, free: 25.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006262/15.25, allocations: 118.5 kB / 5.633 GB, free: 25.35 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004153/15.25, allocations: 1.039 MB / 5.634 GB, free: 25.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/15.25, allocations: 3.188 kB / 5.634 GB, free: 25.24 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02196/15.28, allocations: 3.082 MB / 5.637 GB, free: 25.19 MB / 0.5886 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.02037/15.3, allocations: 4.149 MB / 5.641 GB, free: 24.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01273/15.31, allocations: 3.973 MB / 5.645 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.725e-05/15.31, allocations: 2.219 kB / 5.645 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/15.31, allocations: 0.9688 MB / 5.646 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006705/15.32, allocations: 0.8561 MB / 5.647 GB, free: 24 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/15.33, allocations: 4.718 MB / 5.651 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/15.34, allocations: 1.652 MB / 5.653 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.008321/15.35, allocations: 1.041 MB / 5.654 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/15.35, allocations: 243.5 kB / 5.654 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of SimCode: time 3.266e-06/15.35, allocations: 0 / 5.654 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of Templates: time 0.1605/15.51, allocations: 91.25 MB / 5.743 GB, free: 15.74 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1)