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.001587/0.001587, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.144/1.144, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001634/0.001634, allocations: 103.5 kB / 223.2 MB, free: 4.121 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.1633/0.1633, allocations: 38 MB / 300.4 MB, free: 5.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.855e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08684, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.494/7.58, allocations: 3.662 GB / 4.058 GB, free: 36.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/7.581, allocations: 83.58 kB / 4.058 GB, free: 36.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.064/13.65, allocations: 1.427 GB / 5.485 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.996e-06/13.65, allocations: 3.688 kB / 5.485 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001693/13.65, allocations: 64.17 kB / 5.485 GB, free: 22.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.02698/13.67, allocations: 7.078 MB / 5.492 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/13.67, allocations: 13.28 kB / 5.492 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/13.67, allocations: 276.7 kB / 5.492 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/13.68, allocations: 1.504 MB / 5.494 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/13.68, allocations: 141.5 kB / 5.494 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/13.68, allocations: 184 kB / 5.494 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/13.68, allocations: 2.893 MB / 5.497 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/13.68, allocations: 0 / 5.497 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/13.68, allocations: 85.89 kB / 5.497 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/13.68, allocations: 160.4 kB / 5.497 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/13.69, allocations: 3.115 MB / 5.5 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/13.71, allocations: 10.91 MB / 5.511 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/13.71, allocations: 1.816 MB / 5.513 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/13.71, allocations: 0.7509 MB / 5.513 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/13.71, allocations: 3.492 MB / 5.517 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/13.71, allocations: 51.75 kB / 5.517 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/13.71, allocations: 215.3 kB / 5.517 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 4.148e-06/13.71, allocations: 3.219 kB / 5.517 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.002855/13.72, allocations: 1.777 MB / 5.519 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/13.72, allocations: 198.8 kB / 5.519 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/13.72, allocations: 1.315 MB / 5.52 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/13.72, allocations: 57.05 kB / 5.52 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/13.72, allocations: 0.9843 MB / 5.521 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/13.72, allocations: 0.5205 MB / 5.522 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/13.72, allocations: 46.5 kB / 5.522 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/13.72, allocations: 393.3 kB / 5.522 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/13.72, allocations: 0.7964 MB / 5.523 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/13.72, allocations: 1.479 MB / 5.524 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/13.72, allocations: 1.192 MB / 5.526 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/13.72, allocations: 6.625 kB / 5.526 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004465/13.73, allocations: 2.887 MB / 5.528 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/13.73, allocations: 8.448 MB / 5.537 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/13.73, allocations: 19.47 kB / 5.537 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/13.73, allocations: 0.6137 MB / 5.537 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/13.74, allocations: 0.4983 MB / 5.538 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/13.74, allocations: 1.511 MB / 5.539 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/13.74, allocations: 168.3 kB / 5.539 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/13.74, allocations: 164.2 kB / 5.54 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/13.74, allocations: 2.75 kB / 5.54 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00451/13.74, allocations: 2.594 MB / 5.542 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/13.74, allocations: 24 kB / 5.542 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/13.75, allocations: 330.2 kB / 5.542 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/13.75, allocations: 0.552 MB / 5.543 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/13.75, allocations: 1.265 MB / 5.544 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/13.75, allocations: 150.8 kB / 5.544 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004456/13.75, allocations: 163.3 kB / 5.544 GB, free: 5.109 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.0006588/13.75, allocations: 244.1 kB / 5.545 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/13.75, allocations: 185.7 kB / 5.545 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/13.76, allocations: 3.119 MB / 5.548 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/13.76, allocations: 23.94 kB / 5.548 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/13.76, allocations: 0 / 5.548 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/13.76, allocations: 6.891 kB / 5.548 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/13.77, allocations: 4.571 MB / 5.552 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/13.77, allocations: 4 kB / 5.552 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/13.77, allocations: 313.6 kB / 5.553 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/13.77, allocations: 0.5533 MB / 5.553 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/13.77, allocations: 59.45 kB / 5.553 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/13.78, allocations: 1.513 MB / 5.555 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/13.78, allocations: 4 kB / 5.555 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/13.78, allocations: 2.502 MB / 5.557 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/13.78, allocations: 297.6 kB / 5.558 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/13.78, allocations: 36.09 kB / 5.558 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/13.78, allocations: 110.9 kB / 5.558 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/13.78, allocations: 136.1 kB / 5.558 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/13.78, allocations: 119.9 kB / 5.558 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002017/13.79, allocations: 1.019 MB / 5.559 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/13.79, allocations: 2.406 kB / 5.559 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.013/13.8, allocations: 3.084 MB / 5.562 GB, free: 5.047 MB / 0.5417 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.01339/13.81, allocations: 4.156 MB / 5.566 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3975/14.21, allocations: 3.87 MB / 5.57 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/14.21, allocations: 2.688 kB / 5.57 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/14.21, allocations: 0.9204 MB / 5.571 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/14.22, allocations: 0.8536 MB / 5.572 GB, free: 51.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/14.23, allocations: 3.201 MB / 5.575 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/14.23, allocations: 1.655 MB / 5.576 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00579/14.24, allocations: 1.175 MB / 5.577 GB, free: 50.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/14.24, allocations: 218.8 kB / 5.578 GB, free: 50.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/14.24, allocations: 0 / 5.578 GB, free: 50.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.1355/14.37, allocations: 99.41 MB / 5.675 GB, free: 44.86 MB / 0.5417 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)