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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3658/0.3658, allocations: 39.93 MB / 309.7 MB, free: 9.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001783, allocations: 71.89 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 56.89 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.9193/1.062, allocations: 334.4 MB / 0.7508 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02793/1.09, allocations: 19.66 MB / 0.77 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/1.092, allocations: 54.41 kB / 0.7701 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003582/1.096, allocations: 1.066 MB / 0.7711 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02083/1.117, allocations: 6.875 MB / 0.7779 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02485/1.142, allocations: 9.582 MB / 0.7872 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007781/1.149, allocations: 5.841 MB / 0.7929 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/1.154, allocations: 1.982 MB / 0.7948 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01942/1.173, allocations: 6.784 MB / 0.8015 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005762/1.179, allocations: 2.547 MB / 0.804 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/1.181, allocations: 268 kB / 0.8042 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03693/1.217, allocations: 17.03 MB / 0.8209 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002373/1.22, allocations: 1.138 MB / 0.822 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003475/1.223, allocations: 1.424 MB / 0.8234 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03067/1.254, allocations: 12.27 MB / 0.8353 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/1.254, allocations: 0 / 0.8353 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/1.254, allocations: 3.938 kB / 0.8353 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001685/1.254, allocations: 0 / 0.8353 GB, free: 8.441 MB / 0.5762 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.01629/1.271, allocations: 4.787 MB / 0.84 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.271, allocations: 11.89 kB / 0.84 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.273, allocations: 281.6 kB / 0.8403 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/1.276, allocations: 1.36 MB / 0.8416 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.276, allocations: 147.5 kB / 0.8418 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007653/1.277, allocations: 176 kB / 0.8419 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007204/1.284, allocations: 3.012 MB / 0.8449 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/1.284, allocations: 0 / 0.8449 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004774/1.285, allocations: 79.97 kB / 0.8449 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/1.285, allocations: 167.5 kB / 0.8451 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006857/1.292, allocations: 3.296 MB / 0.8483 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2192/1.511, allocations: 11.38 MB / 0.8594 GB, free: 255.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/1.516, allocations: 2.359 MB / 0.8617 GB, free: 255.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/1.518, allocations: 1.043 MB / 0.8628 GB, free: 255.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/1.521, allocations: 4.692 MB / 0.8673 GB, free: 250.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.521, allocations: 63.95 kB / 0.8674 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001335/1.522, allocations: 257.6 kB / 0.8676 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 5.801e-06/1.522, allocations: 7.109 kB / 0.8677 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.008003/1.53, allocations: 3.836 MB / 0.8714 GB, free: 248.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/1.53, allocations: 197.3 kB / 0.8716 GB, free: 248.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/1.533, allocations: 1.91 MB / 0.8735 GB, free: 248 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/1.533, allocations: 64.83 kB / 0.8735 GB, free: 247.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/1.534, allocations: 0.9107 MB / 0.8744 GB, free: 247.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/1.534, allocations: 0.5309 MB / 0.8749 GB, free: 246.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008628/1.535, allocations: 461 kB / 0.8754 GB, free: 246.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/1.535, allocations: 301.1 kB / 0.8756 GB, free: 246.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/1.537, allocations: 1.113 MB / 0.8767 GB, free: 245.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.539, allocations: 1.518 MB / 0.8782 GB, free: 245.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/1.543, allocations: 2.752 MB / 0.8809 GB, free: 243.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.543, allocations: 3.219 kB / 0.8809 GB, free: 243.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.006062/1.549, allocations: 3.433 MB / 0.8843 GB, free: 242.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/1.549, allocations: 153 kB / 0.8844 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.549, allocations: 12.69 kB / 0.8844 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/1.553, allocations: 0.9326 MB / 0.8853 GB, free: 242.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.556, allocations: 447.2 kB / 0.8858 GB, free: 242.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/1.557, allocations: 1.812 MB / 0.8875 GB, free: 240.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.56, allocations: 84.95 kB / 0.8876 GB, free: 240.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/1.561, allocations: 151.5 kB / 0.8878 GB, free: 240.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003204/1.564, allocations: 1.483 MB / 0.8892 GB, free: 240.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002487/1.566, allocations: 1.493 MB / 0.8907 GB, free: 239.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004455/1.571, allocations: 2.675 MB / 0.8933 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.968e-05/1.571, allocations: 3.594 kB / 0.8933 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.006708/1.578, allocations: 3.258 MB / 0.8965 GB, free: 236.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/1.578, allocations: 148.9 kB / 0.8966 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.578, allocations: 11.75 kB / 0.8966 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/1.58, allocations: 439.5 kB / 0.897 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.582, allocations: 497.2 kB / 0.8975 GB, free: 236.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.583, allocations: 1.426 MB / 0.8989 GB, free: 235 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.585, allocations: 91.95 kB / 0.899 GB, free: 235 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/1.585, allocations: 153.7 kB / 0.8991 GB, free: 235 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (233): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007679/1.586, allocations: 303.3 kB / 0.8994 GB, free: 234.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/1.587, allocations: 214.1 kB / 0.8996 GB, free: 234.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/1.594, allocations: 3.84 MB / 0.9034 GB, free: 233.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/1.595, allocations: 25.16 kB / 0.9034 GB, free: 233.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.595, allocations: 0 / 0.9034 GB, free: 233.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/1.595, allocations: 14.05 kB / 0.9034 GB, free: 233.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009743/1.604, allocations: 5.008 MB / 0.9083 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.604, allocations: 4.531 kB / 0.9083 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.606, allocations: 295.2 kB / 0.9086 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/1.61, allocations: 0.8549 MB / 0.9094 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.61, allocations: 65.2 kB / 0.9095 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/1.612, allocations: 1.823 MB / 0.9113 GB, free: 229.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.612, allocations: 4.219 kB / 0.9113 GB, free: 229.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/1.617, allocations: 2.874 MB / 0.9141 GB, free: 228.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.618, allocations: 305.5 kB / 0.9144 GB, free: 228.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/1.619, allocations: 41.03 kB / 0.9144 GB, free: 228 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.62, allocations: 83.55 kB / 0.9145 GB, free: 228 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.621, allocations: 137.5 kB / 0.9146 GB, free: 228 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/1.621, allocations: 136.1 kB / 0.9147 GB, free: 228 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002174/1.623, allocations: 1.43 MB / 0.9161 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.623, allocations: 3.406 kB / 0.9161 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007162/1.63, allocations: 2.71 MB / 0.9188 GB, free: 227.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (158): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007596/1.638, allocations: 2.535 MB / 0.9213 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.65, allocations: 5.335 MB / 0.9265 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/1.65, allocations: 4.547 kB / 0.9265 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.652, allocations: 1.215 MB / 0.9277 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00671/1.659, allocations: 1.317 MB / 0.929 GB, free: 224 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/1.666, allocations: 4.162 MB / 0.933 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.668, allocations: 1.619 MB / 0.9346 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004696/1.672, allocations: 1.084 MB / 0.9357 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009381/1.673, allocations: 247.3 kB / 0.9359 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/1.673, allocations: 0 / 0.9359 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1091/1.783, allocations: 93.69 MB / 1.027 GB, free: 124.9 MB / 0.5919 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)