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.01093/0.01093, allocations: 98.38 kB / 15.73 MB, free: 6.055 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.001893/0.001893, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.2922/0.2922, allocations: 39.95 MB / 309.8 MB, free: 9.414 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.001563/0.001564, allocations: 75.88 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2904, allocations: 56.87 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.6635/0.954, allocations: 334.4 MB / 0.8076 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02954/0.9836, allocations: 19.68 MB / 0.8269 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.9867, allocations: 51.69 kB / 0.8269 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.9901, allocations: 1.072 MB / 0.828 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01868/1.009, allocations: 6.869 MB / 0.8347 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02712/1.036, allocations: 9.571 MB / 0.844 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009152/1.045, allocations: 5.845 MB / 0.8497 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/1.049, allocations: 1.977 MB / 0.8516 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01703/1.066, allocations: 6.807 MB / 0.8583 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/1.071, allocations: 2.555 MB / 0.8608 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.072, allocations: 272 kB / 0.861 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03457/1.107, allocations: 17.51 MB / 0.8781 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/1.109, allocations: 1.134 MB / 0.8793 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002827/1.112, allocations: 1.428 MB / 0.8807 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4096/1.521, allocations: 12.35 MB / 0.8927 GB, free: 22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.521, allocations: 0.75 kB / 0.8927 GB, free: 22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/1.521, allocations: 1.875 kB / 0.8927 GB, free: 22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001151/1.522, allocations: 0.9062 kB / 0.8927 GB, free: 22 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.01817/1.54, allocations: 4.948 MB / 0.8975 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/1.54, allocations: 15.48 kB / 0.8976 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/1.542, allocations: 295.6 kB / 0.8978 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/1.545, allocations: 1.44 MB / 0.8992 GB, free: 19.03 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.545, allocations: 147.5 kB / 0.8994 GB, free: 19.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/1.545, allocations: 185.2 kB / 0.8996 GB, free: 19.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/1.551, allocations: 3.003 MB / 0.9025 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/1.551, allocations: 4.219 kB / 0.9025 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/1.551, allocations: 83.22 kB / 0.9026 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/1.552, allocations: 163.3 kB / 0.9027 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/1.558, allocations: 3.293 MB / 0.906 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/1.581, allocations: 11.34 MB / 0.917 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/1.586, allocations: 2.369 MB / 0.9193 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.588, allocations: 1.047 MB / 0.9204 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003038/1.591, allocations: 4.69 MB / 0.9249 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.591, allocations: 62.17 kB / 0.925 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/1.592, allocations: 269.5 kB / 0.9253 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=156): time 5.32e-06/1.592, allocations: 0 / 0.9253 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156): time 0.008018/1.6, allocations: 3.854 MB / 0.929 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.6, allocations: 205.5 kB / 0.9292 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/1.603, allocations: 1.904 MB / 0.9311 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004518/1.604, allocations: 64.11 kB / 0.9311 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/1.604, allocations: 0.9188 MB / 0.932 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/1.605, allocations: 0.5536 MB / 0.9326 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007579/1.605, allocations: 470.8 kB / 0.933 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/1.605, allocations: 301.1 kB / 0.9333 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.607, allocations: 1.12 MB / 0.9344 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.609, allocations: 1.514 MB / 0.9359 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/1.613, allocations: 2.747 MB / 0.9386 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.613, allocations: 2.125 kB / 0.9386 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005689/1.619, allocations: 3.443 MB / 0.9419 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/1.619, allocations: 155.9 kB / 0.9421 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.619, allocations: 14.31 kB / 0.9421 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/1.623, allocations: 0.9273 MB / 0.943 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/1.626, allocations: 452.6 kB / 0.9434 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.628, allocations: 1.81 MB / 0.9452 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/1.631, allocations: 80.56 kB / 0.9453 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.631, allocations: 157.5 kB / 0.9454 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002748/1.634, allocations: 1.479 MB / 0.9469 GB, free: 20.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002039/1.636, allocations: 1.493 MB / 0.9483 GB, free: 20.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003996/1.64, allocations: 2.681 MB / 0.9509 GB, free: 19.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.399e-05/1.64, allocations: 3.938 kB / 0.951 GB, free: 19.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.006001/1.646, allocations: 3.259 MB / 0.9541 GB, free: 19.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.646, allocations: 150.2 kB / 0.9543 GB, free: 19.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.646, allocations: 11.56 kB / 0.9543 GB, free: 19.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/1.648, allocations: 454.2 kB / 0.9547 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.651, allocations: 488.1 kB / 0.9552 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/1.653, allocations: 1.427 MB / 0.9566 GB, free: 18.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.656, allocations: 87.86 kB / 0.9567 GB, free: 18.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/1.656, allocations: 156.2 kB / 0.9568 GB, free: 18.15 MB / 0.6544 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.0009695/1.657, allocations: 304.2 kB / 0.9571 GB, free: 17.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/1.658, allocations: 230.5 kB / 0.9573 GB, free: 17.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/1.665, allocations: 3.837 MB / 0.9611 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.665, allocations: 21.5 kB / 0.9611 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.665, allocations: 7.094 kB / 0.9611 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/1.665, allocations: 9.891 kB / 0.9611 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/1.672, allocations: 5.01 MB / 0.966 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.672, allocations: 3.781 kB / 0.966 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.674, allocations: 296.2 kB / 0.9663 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003871/1.677, allocations: 0.8522 MB / 0.9671 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/1.678, allocations: 61.58 kB / 0.9672 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/1.679, allocations: 1.825 MB / 0.969 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.679, allocations: 7.406 kB / 0.969 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/1.684, allocations: 2.876 MB / 0.9718 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008454/1.685, allocations: 318.1 kB / 0.9721 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.685, allocations: 39.33 kB / 0.9721 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.687, allocations: 89.58 kB / 0.9722 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.687, allocations: 140.2 kB / 0.9723 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.688, allocations: 131 kB / 0.9725 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001915/1.69, allocations: 1.429 MB / 0.9739 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/1.69, allocations: 0 / 0.9739 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009269/1.699, allocations: 2.744 MB / 0.9765 GB, free: 10.52 MB / 0.6544 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.009531/1.708, allocations: 2.565 MB / 0.979 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.717, allocations: 4.632 MB / 0.9836 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.718, allocations: 7.625 kB / 0.9836 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.72, allocations: 1.219 MB / 0.9848 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008063/1.728, allocations: 1.308 MB / 0.986 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.736, allocations: 4.172 MB / 0.9901 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.737, allocations: 1.615 MB / 0.9917 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004006/1.741, allocations: 1.091 MB / 0.9928 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008005/1.742, allocations: 241.9 kB / 0.993 GB, free: 14.12 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/1.742, allocations: 0 / 0.993 GB, free: 14.12 MB / 0.67 GB Notification: Performance of Templates: time 0.1359/1.878, allocations: 92.22 MB / 1.083 GB, free: 2.469 MB / 0.7481 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)