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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008254/0.008254, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2914/0.2914, allocations: 38 MB / 307.9 MB, free: 10.15 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.1. 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.002738/0.002738, allocations: 67.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3147, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.6104/0.9251, allocations: 334.4 MB / 0.8045 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.9506, allocations: 19.69 MB / 0.8237 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.9527, allocations: 51.69 kB / 0.8238 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.9556, allocations: 1.068 MB / 0.8248 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.9785, allocations: 6.877 MB / 0.8315 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02443/1.003, allocations: 9.559 MB / 0.8409 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007684/1.011, allocations: 5.852 MB / 0.8466 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/1.014, allocations: 1.989 MB / 0.8485 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/1.028, allocations: 6.814 MB / 0.8552 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004786/1.033, allocations: 2.543 MB / 0.8577 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009008/1.034, allocations: 272 kB / 0.8579 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03481/1.069, allocations: 17.53 MB / 0.8751 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001824/1.07, allocations: 1.126 MB / 0.8762 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/1.072, allocations: 1.424 MB / 0.8775 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4079/1.48, allocations: 12.35 MB / 0.8896 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.48, allocations: 1.625 kB / 0.8896 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.565e-06/1.48, allocations: 0.75 kB / 0.8896 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.936e-05/1.481, allocations: 1.469 kB / 0.8896 GB, free: 27.67 MB / 0.6387 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.01785/1.498, allocations: 4.942 MB / 0.8944 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.498, allocations: 13.2 kB / 0.8944 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.5, allocations: 292.7 kB / 0.8947 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/1.504, allocations: 1.449 MB / 0.8961 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/1.504, allocations: 147.9 kB / 0.8963 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/1.504, allocations: 181.8 kB / 0.8965 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0064/1.511, allocations: 3.001 MB / 0.8994 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/1.511, allocations: 7.281 kB / 0.8994 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/1.511, allocations: 82.5 kB / 0.8995 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002636/1.511, allocations: 162.6 kB / 0.8996 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006053/1.517, allocations: 3.285 MB / 0.9028 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/1.536, allocations: 11.34 MB / 0.9139 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/1.541, allocations: 2.371 MB / 0.9162 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/1.542, allocations: 1.042 MB / 0.9172 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003457/1.546, allocations: 4.694 MB / 0.9218 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.546, allocations: 62.66 kB / 0.9219 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001867/1.548, allocations: 272 kB / 0.9221 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=156): time 5.26e-06/1.548, allocations: 0 / 0.9221 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156): time 0.007917/1.556, allocations: 3.846 MB / 0.9259 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.556, allocations: 196.8 kB / 0.9261 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/1.558, allocations: 1.915 MB / 0.928 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/1.559, allocations: 60.05 kB / 0.928 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/1.559, allocations: 0.9209 MB / 0.9289 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/1.56, allocations: 0.5566 MB / 0.9295 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007896/1.56, allocations: 465.8 kB / 0.9299 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/1.561, allocations: 303.8 kB / 0.9302 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.562, allocations: 1.119 MB / 0.9313 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.564, allocations: 1.515 MB / 0.9328 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/1.568, allocations: 2.751 MB / 0.9355 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.568, allocations: 4.438 kB / 0.9355 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.00586/1.574, allocations: 3.445 MB / 0.9388 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.574, allocations: 148.5 kB / 0.939 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.574, allocations: 14.19 kB / 0.939 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/1.579, allocations: 0.9291 MB / 0.9399 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/1.58, allocations: 450.9 kB / 0.9403 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/1.582, allocations: 1.814 MB / 0.9421 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.584, allocations: 78.56 kB / 0.9422 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/1.585, allocations: 158.1 kB / 0.9423 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002384/1.587, allocations: 1.482 MB / 0.9438 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001872/1.589, allocations: 1.489 MB / 0.9452 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003435/1.592, allocations: 2.673 MB / 0.9478 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/1.592, allocations: 4.141 kB / 0.9478 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.00523/1.598, allocations: 3.262 MB / 0.951 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/1.598, allocations: 152.1 kB / 0.9512 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.598, allocations: 13.89 kB / 0.9512 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/1.599, allocations: 444.1 kB / 0.9516 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.602, allocations: 488 kB / 0.9521 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/1.603, allocations: 1.43 MB / 0.9535 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.605, allocations: 89.14 kB / 0.9535 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/1.605, allocations: 148.4 kB / 0.9537 GB, free: 7.828 MB / 0.6387 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.0008128/1.606, allocations: 313.9 kB / 0.954 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/1.606, allocations: 228.5 kB / 0.9542 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/1.613, allocations: 3.84 MB / 0.958 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.613, allocations: 15.59 kB / 0.958 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.613, allocations: 2.906 kB / 0.958 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.613, allocations: 11.58 kB / 0.958 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/1.62, allocations: 5.013 MB / 0.9629 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.62, allocations: 3.406 kB / 0.9629 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.622, allocations: 295.7 kB / 0.9632 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003974/1.626, allocations: 0.8496 MB / 0.964 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.626, allocations: 63.23 kB / 0.9641 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.627, allocations: 1.828 MB / 0.9658 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.627, allocations: 6.562 kB / 0.9658 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/1.632, allocations: 2.874 MB / 0.9686 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/1.633, allocations: 323.1 kB / 0.969 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008083/1.634, allocations: 37.16 kB / 0.969 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/1.636, allocations: 85.78 kB / 0.9691 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/1.636, allocations: 134.2 kB / 0.9692 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003377/1.637, allocations: 130.3 kB / 0.9693 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002337/1.639, allocations: 1.434 MB / 0.9707 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/1.639, allocations: 0 / 0.9707 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01044/1.649, allocations: 2.748 MB / 0.9734 GB, free: 1.559 MB / 0.6387 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.01029/1.66, allocations: 2.582 MB / 0.9759 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00975/1.67, allocations: 4.629 MB / 0.9805 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.67, allocations: 7.625 kB / 0.9805 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/1.672, allocations: 1.219 MB / 0.9817 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008018/1.68, allocations: 1.314 MB / 0.9829 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/1.689, allocations: 4.165 MB / 0.987 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/1.69, allocations: 1.613 MB / 0.9886 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004495/1.695, allocations: 1.09 MB / 0.9896 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009994/1.696, allocations: 249.1 kB / 0.9899 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/1.696, allocations: 0 / 0.9899 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.1311/1.827, allocations: 92.2 MB / 1.08 GB, free: 10.6 MB / 0.7481 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)