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.00954/0.00954, allocations: 101 kB / 15.73 MB, free: 5.586 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.002007/0.002007, allocations: 187.8 kB / 16.67 MB, free: 5.523 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.182/0.182, allocations: 38 MB / 307.9 MB, free: 5.988 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.001465/0.001465, allocations: 73.61 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 56.46 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.9054/1.015, allocations: 334.3 MB / 0.8045 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0251/1.04, allocations: 19.68 MB / 0.8237 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.042, allocations: 57.22 kB / 0.8238 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/1.044, allocations: 1.088 MB / 0.8248 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/1.06, allocations: 6.946 MB / 0.8316 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02346/1.083, allocations: 9.598 MB / 0.841 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007843/1.091, allocations: 5.857 MB / 0.8467 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/1.095, allocations: 1.982 MB / 0.8486 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01713/1.113, allocations: 6.874 MB / 0.8554 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/1.118, allocations: 2.566 MB / 0.8579 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007587/1.118, allocations: 271.3 kB / 0.8581 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03373/1.152, allocations: 17.52 MB / 0.8752 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002206/1.154, allocations: 1.13 MB / 0.8763 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003581/1.158, allocations: 1.431 MB / 0.8777 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0311/1.189, allocations: 12.31 MB / 0.8898 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.189, allocations: 0 / 0.8898 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.353e-06/1.189, allocations: 0 / 0.8898 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.614e-05/1.189, allocations: 0 / 0.8898 GB, free: 8.027 MB / 0.6231 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.01199/1.201, allocations: 4.774 MB / 0.8944 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.201, allocations: 11.89 kB / 0.8944 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.202, allocations: 281.1 kB / 0.8947 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/1.205, allocations: 1.433 MB / 0.8961 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.205, allocations: 148.7 kB / 0.8962 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/1.205, allocations: 177.7 kB / 0.8964 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/1.21, allocations: 3.014 MB / 0.8994 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.21, allocations: 0 / 0.8994 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/1.211, allocations: 74.33 kB / 0.8994 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/1.211, allocations: 165.5 kB / 0.8996 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005768/1.217, allocations: 3.293 MB / 0.9028 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/1.238, allocations: 11.32 MB / 0.9139 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/1.242, allocations: 2.367 MB / 0.9162 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/1.244, allocations: 1.047 MB / 0.9172 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004256/1.249, allocations: 4.7 MB / 0.9218 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/1.249, allocations: 60.16 kB / 0.9218 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00155/1.25, allocations: 262.3 kB / 0.9221 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=156): time 8.126e-06/1.25, allocations: 0 / 0.9221 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156): time 0.00898/1.259, allocations: 3.836 MB / 0.9258 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.259, allocations: 197.2 kB / 0.926 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/1.263, allocations: 1.91 MB / 0.9279 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003698/1.263, allocations: 61.7 kB / 0.9279 GB, free: 15.37 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/1.264, allocations: 0.9089 MB / 0.9288 GB, free: 14.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/1.264, allocations: 0.5296 MB / 0.9294 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009876/1.265, allocations: 459 kB / 0.9298 GB, free: 13.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/1.266, allocations: 309.1 kB / 0.9301 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/1.268, allocations: 1.12 MB / 0.9312 GB, free: 12.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.27, allocations: 1.52 MB / 0.9327 GB, free: 10.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/1.275, allocations: 2.746 MB / 0.9353 GB, free: 7.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.275, allocations: 7.938 kB / 0.9354 GB, free: 7.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.006794/1.282, allocations: 3.433 MB / 0.9387 GB, free: 4.074 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.282, allocations: 148.5 kB / 0.9388 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.282, allocations: 12 kB / 0.9389 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/1.287, allocations: 0.9247 MB / 0.9398 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.289, allocations: 451 kB / 0.9402 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.291, allocations: 1.819 MB / 0.942 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.293, allocations: 79.95 kB / 0.942 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/1.294, allocations: 155.9 kB / 0.9422 GB, free: 468 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002959/1.296, allocations: 1.478 MB / 0.9436 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002435/1.299, allocations: 1.496 MB / 0.9451 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004742/1.304, allocations: 2.679 MB / 0.9477 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.051e-05/1.304, allocations: 11.31 kB / 0.9477 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.006962/1.311, allocations: 3.243 MB / 0.9509 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.311, allocations: 148.5 kB / 0.951 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/1.311, allocations: 16.56 kB / 0.951 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.313, allocations: 443.1 kB / 0.9515 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.315, allocations: 492.6 kB / 0.9519 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/1.316, allocations: 1.433 MB / 0.9533 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.319, allocations: 83.95 kB / 0.9534 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/1.319, allocations: 151.9 kB / 0.9536 GB, free: 4.484 MB / 0.6856 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.000794/1.32, allocations: 300.5 kB / 0.9539 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/1.321, allocations: 213.5 kB / 0.9541 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/1.328, allocations: 3.843 MB / 0.9578 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.328, allocations: 19.94 kB / 0.9578 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.328, allocations: 0 / 0.9578 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/1.328, allocations: 7.969 kB / 0.9578 GB, free: 84 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008327/1.336, allocations: 5.008 MB / 0.9627 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.336, allocations: 4 kB / 0.9627 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.338, allocations: 301 kB / 0.963 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004032/1.342, allocations: 0.8467 MB / 0.9638 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/1.342, allocations: 63.97 kB / 0.9639 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.344, allocations: 1.83 MB / 0.9657 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.344, allocations: 7.938 kB / 0.9657 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/1.349, allocations: 2.854 MB / 0.9685 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/1.349, allocations: 318.2 kB / 0.9688 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/1.35, allocations: 39.94 kB / 0.9688 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.352, allocations: 87.86 kB / 0.9689 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.352, allocations: 128.5 kB / 0.969 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.352, allocations: 131.9 kB / 0.9692 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002161/1.354, allocations: 1.44 MB / 0.9706 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.354, allocations: 3.938 kB / 0.9706 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006538/1.361, allocations: 2.704 MB / 0.9732 GB, free: 148 kB / 0.7012 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.006963/1.368, allocations: 2.537 MB / 0.9757 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00921/1.377, allocations: 4.623 MB / 0.9802 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.377, allocations: 8.938 kB / 0.9802 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.38, allocations: 1.228 MB / 0.9814 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006785/1.387, allocations: 1.307 MB / 0.9827 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008702/1.395, allocations: 4.106 MB / 0.9867 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.397, allocations: 1.612 MB / 0.9883 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004615/1.402, allocations: 1.087 MB / 0.9893 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009953/1.403, allocations: 247.3 kB / 0.9896 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/1.403, allocations: 0 / 0.9896 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.3521/1.755, allocations: 92.2 MB / 1.08 GB, free: 343.8 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)