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.002663/0.002663, allocations: 180.2 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001647/0.001647, allocations: 114.8 kB / 247.4 MB, free: 6.227 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.1886/0.1886, allocations: 39.93 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.559e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.146/8.252, allocations: 3.668 GB / 4.105 GB, free: 6.148 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/8.252, allocations: 83.95 kB / 4.105 GB, free: 6.066 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.327/14.58, allocations: 1.424 GB / 5.529 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/14.58, allocations: 0 / 5.529 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000214/14.58, allocations: 61.41 kB / 5.529 GB, free: 32.06 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.02844/14.61, allocations: 7.082 MB / 5.536 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/14.61, allocations: 7 kB / 5.536 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/14.61, allocations: 286.4 kB / 5.536 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/14.62, allocations: 1.507 MB / 5.538 GB, free: 28.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/14.62, allocations: 61.56 kB / 5.538 GB, free: 28.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/14.62, allocations: 110.4 kB / 5.538 GB, free: 28.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005766/14.62, allocations: 2.859 MB / 5.541 GB, free: 28.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/14.63, allocations: 2.627 MB / 5.543 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/14.63, allocations: 0 / 5.543 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/14.63, allocations: 5.719 kB / 5.543 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/14.63, allocations: 166.8 kB / 5.544 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/14.65, allocations: 11.83 MB / 5.555 GB, free: 22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/14.65, allocations: 1.594 MB / 5.557 GB, free: 21.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000845/14.65, allocations: 0.6753 MB / 5.557 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/14.65, allocations: 2.539 MB / 5.56 GB, free: 19.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/14.65, allocations: 60.33 kB / 5.56 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001109/14.65, allocations: 168.8 kB / 5.56 GB, free: 19.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=139): time 6.463e-06/14.65, allocations: 0 / 5.56 GB, free: 19.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=139): time 0.00503/14.66, allocations: 1.942 MB / 5.562 GB, free: 19.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/14.66, allocations: 198.7 kB / 5.562 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/14.66, allocations: 1.142 MB / 5.563 GB, free: 18.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/14.66, allocations: 31.33 kB / 5.563 GB, free: 18.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/14.66, allocations: 1.028 MB / 5.564 GB, free: 18.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/14.66, allocations: 478 kB / 5.565 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/14.66, allocations: 5.375 kB / 5.565 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001168/14.66, allocations: 391.3 kB / 5.565 GB, free: 17.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/14.66, allocations: 0.7651 MB / 5.566 GB, free: 17.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/14.66, allocations: 1.439 MB / 5.567 GB, free: 16.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/14.68, allocations: 3.179 MB / 5.57 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-05/14.68, allocations: 7.875 kB / 5.57 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01812/14.7, allocations: 4.717 MB / 5.575 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00233/14.7, allocations: 8.365 MB / 5.583 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/14.7, allocations: 23.58 kB / 5.583 GB, free: 23.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/14.7, allocations: 269 kB / 5.583 GB, free: 23.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/14.7, allocations: 0.4921 MB / 5.584 GB, free: 23.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/14.7, allocations: 1.646 MB / 5.585 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/14.71, allocations: 135.1 kB / 5.586 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/14.71, allocations: 170.9 kB / 5.586 GB, free: 22.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/14.71, allocations: 4.812 kB / 5.586 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01698/14.72, allocations: 4.303 MB / 5.59 GB, free: 22.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/14.72, allocations: 20.59 kB / 5.59 GB, free: 22.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/14.72, allocations: 134.2 kB / 5.59 GB, free: 22.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/14.73, allocations: 0.5479 MB / 5.591 GB, free: 22.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/14.73, allocations: 1.326 MB / 5.592 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/14.73, allocations: 107.8 kB / 5.592 GB, free: 21.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/14.73, allocations: 159.4 kB / 5.592 GB, free: 21.67 MB / 0.573 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.000635/14.73, allocations: 171.1 kB / 5.592 GB, free: 21.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/14.73, allocations: 173.4 kB / 5.593 GB, free: 21.47 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007341/14.74, allocations: 3.032 MB / 5.595 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/14.74, allocations: 15.53 kB / 5.595 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/14.74, allocations: 3.953 kB / 5.595 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/14.74, allocations: 8.391 kB / 5.596 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/14.75, allocations: 6.345 MB / 5.602 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/14.75, allocations: 8.906 kB / 5.602 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/14.75, allocations: 279.7 kB / 5.602 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007667/14.75, allocations: 265.8 kB / 5.602 GB, free: 19.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/14.75, allocations: 41.22 kB / 5.602 GB, free: 19.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/14.75, allocations: 1.682 MB / 5.604 GB, free: 18.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/14.75, allocations: 17.22 kB / 5.604 GB, free: 18.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/14.76, allocations: 3.048 MB / 5.607 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/14.76, allocations: 300.4 kB / 5.607 GB, free: 16.75 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/14.76, allocations: 14.88 kB / 5.607 GB, free: 16.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/14.76, allocations: 75.64 kB / 5.607 GB, free: 16.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/14.76, allocations: 139.5 kB / 5.607 GB, free: 16.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/14.76, allocations: 109.4 kB / 5.608 GB, free: 16.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001225/14.76, allocations: 0.849 MB / 5.608 GB, free: 16.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/14.76, allocations: 2.344 kB / 5.608 GB, free: 16.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009626/14.77, allocations: 2.945 MB / 5.611 GB, free: 15.95 MB / 0.573 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.01073/14.78, allocations: 4.47 MB / 5.616 GB, free: 14.94 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006231/14.79, allocations: 3.633 MB / 5.619 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.008e-05/14.79, allocations: 448 / 5.619 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/14.79, allocations: 0.8356 MB / 5.62 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/14.8, allocations: 0.7515 MB / 5.621 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/14.8, allocations: 3.1 MB / 5.624 GB, free: 13.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/14.8, allocations: 1.653 MB / 5.625 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004376/14.81, allocations: 1.062 MB / 5.626 GB, free: 12.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/14.81, allocations: 206.1 kB / 5.627 GB, free: 12.66 MB / 0.573 GB Notification: Performance of SimCode: time 6.62e-07/14.81, allocations: 2.844 kB / 5.627 GB, free: 12.66 MB / 0.573 GB Notification: Performance of Templates: time 0.09687/14.91, allocations: 75.61 MB / 5.7 GB, free: 15.16 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)