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.001132/0.001132, allocations: 182.2 kB / 12.74 MB, free: 2.582 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.405/1.405, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001688/0.001688, allocations: 110.9 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1908/0.1908, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.051e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09799, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.46/8.558, allocations: 3.668 GB / 4.113 GB, free: 67.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/8.558, allocations: 83.95 kB / 4.113 GB, free: 67.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.068/14.63, allocations: 1.437 GB / 5.55 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.793e-06/14.63, allocations: 3.938 kB / 5.55 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001645/14.63, allocations: 66.16 kB / 5.55 GB, free: 5.672 MB / 0.5573 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.02775/14.65, allocations: 7.081 MB / 5.557 GB, free: 14.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/14.65, allocations: 8.031 kB / 5.557 GB, free: 14.49 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/14.66, allocations: 276.4 kB / 5.557 GB, free: 14.22 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004891/14.66, allocations: 1.519 MB / 5.558 GB, free: 12.65 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/14.66, allocations: 139.5 kB / 5.558 GB, free: 12.51 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/14.66, allocations: 176 kB / 5.559 GB, free: 12.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005579/14.67, allocations: 2.895 MB / 5.561 GB, free: 9.363 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/14.67, allocations: 0 / 5.561 GB, free: 9.363 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/14.67, allocations: 79.97 kB / 5.562 GB, free: 9.285 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/14.67, allocations: 159.6 kB / 5.562 GB, free: 9.129 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005677/14.67, allocations: 3.126 MB / 5.565 GB, free: 6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4787/15.15, allocations: 11.25 MB / 5.576 GB, free: 32.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/15.16, allocations: 1.813 MB / 5.577 GB, free: 32.64 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/15.16, allocations: 0.7516 MB / 5.578 GB, free: 32.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/15.16, allocations: 3.491 MB / 5.582 GB, free: 29.07 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/15.16, allocations: 50.03 kB / 5.582 GB, free: 29.03 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001627/15.16, allocations: 219.8 kB / 5.582 GB, free: 29.03 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 5.03e-06/15.16, allocations: 0 / 5.582 GB, free: 29.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=150): time 0.003435/15.17, allocations: 1.778 MB / 5.584 GB, free: 28.86 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/15.17, allocations: 198.8 kB / 5.584 GB, free: 28.64 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/15.17, allocations: 1.31 MB / 5.585 GB, free: 28.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/15.17, allocations: 57.92 kB / 5.585 GB, free: 28.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/15.17, allocations: 0.9892 MB / 5.586 GB, free: 28.06 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/15.17, allocations: 0.5193 MB / 5.587 GB, free: 27.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/15.17, allocations: 48.03 kB / 5.587 GB, free: 27.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001162/15.17, allocations: 384.9 kB / 5.587 GB, free: 27.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/15.17, allocations: 0.7976 MB / 5.588 GB, free: 27.49 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/15.17, allocations: 1.481 MB / 5.589 GB, free: 26.68 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/15.17, allocations: 1.201 MB / 5.59 GB, free: 26.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/15.17, allocations: 7.188 kB / 5.59 GB, free: 26.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005307/15.18, allocations: 2.885 MB / 5.593 GB, free: 26.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001642/15.18, allocations: 8.442 MB / 5.601 GB, free: 17.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/15.18, allocations: 21.16 kB / 5.602 GB, free: 17.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/15.18, allocations: 0.6092 MB / 5.602 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/15.19, allocations: 0.4974 MB / 5.603 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/15.19, allocations: 1.51 MB / 5.604 GB, free: 16.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/15.19, allocations: 169.8 kB / 5.604 GB, free: 16.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/15.19, allocations: 162.6 kB / 5.604 GB, free: 16.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/15.19, allocations: 6.094 kB / 5.604 GB, free: 16.43 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005541/15.2, allocations: 2.594 MB / 5.607 GB, free: 16.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/15.2, allocations: 22.94 kB / 5.607 GB, free: 16.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/15.2, allocations: 338.7 kB / 5.607 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/15.2, allocations: 0.5484 MB / 5.608 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/15.2, allocations: 1.256 MB / 5.609 GB, free: 31.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/15.2, allocations: 149.2 kB / 5.609 GB, free: 31.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/15.2, allocations: 158.3 kB / 5.609 GB, free: 31.16 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 () * 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.0008206/15.21, allocations: 253.5 kB / 5.61 GB, free: 31.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/15.21, allocations: 187.9 kB / 5.61 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/15.21, allocations: 3.126 MB / 5.613 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/15.21, allocations: 19.16 kB / 5.613 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/15.21, allocations: 2.281 kB / 5.613 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/15.21, allocations: 8.203 kB / 5.613 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009192/15.22, allocations: 4.55 MB / 5.617 GB, free: 30.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/15.22, allocations: 6.969 kB / 5.617 GB, free: 30.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/15.22, allocations: 314.3 kB / 5.618 GB, free: 30.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/15.23, allocations: 0.5512 MB / 5.618 GB, free: 30.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004282/15.23, allocations: 65.08 kB / 5.618 GB, free: 30.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/15.23, allocations: 1.509 MB / 5.62 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/15.23, allocations: 8.156 kB / 5.62 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/15.23, allocations: 2.5 MB / 5.622 GB, free: 28.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/15.24, allocations: 295.3 kB / 5.622 GB, free: 28.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/15.24, allocations: 41.78 kB / 5.622 GB, free: 28.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/15.24, allocations: 107 kB / 5.623 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/15.24, allocations: 134.5 kB / 5.623 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004557/15.24, allocations: 117.2 kB / 5.623 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002528/15.24, allocations: 1.025 MB / 5.624 GB, free: 27.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.172e-06/15.24, allocations: 0 / 5.624 GB, free: 27.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01359/15.26, allocations: 3.093 MB / 5.627 GB, free: 27.84 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 () * 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.01317/15.27, allocations: 4.154 MB / 5.631 GB, free: 27.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008254/15.28, allocations: 3.868 MB / 5.635 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/15.28, allocations: 2.047 kB / 5.635 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/15.28, allocations: 0.9236 MB / 5.636 GB, free: 26.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005586/15.29, allocations: 0.8591 MB / 5.636 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008164/15.29, allocations: 3.204 MB / 5.639 GB, free: 26.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/15.3, allocations: 1.656 MB / 5.641 GB, free: 25.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.005264/15.3, allocations: 1.166 MB / 5.642 GB, free: 25.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/15.3, allocations: 222.7 kB / 5.642 GB, free: 25.24 MB / 0.5886 GB Notification: Performance of SimCode: time 1.633e-06/15.3, allocations: 0 / 5.642 GB, free: 25.24 MB / 0.5886 GB Notification: Performance of Templates: time 0.1359/15.44, allocations: 99.43 MB / 5.74 GB, free: 19.35 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)