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.001237/0.001237, 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.00209/0.00209, allocations: 193.4 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.88/1.88, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4274/0.4274, allocations: 37.99 MB / 307.7 MB, free: 10.06 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.002004/0.002004, allocations: 72.56 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1298, allocations: 56.46 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.8038/0.9336, allocations: 334.4 MB / 0.7481 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.959, allocations: 19.69 MB / 0.7673 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.9617, allocations: 51.03 kB / 0.7674 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.9649, allocations: 1.07 MB / 0.7684 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.01952/0.9845, allocations: 6.863 MB / 0.7751 GB, free: 7.727 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.02624/1.011, allocations: 9.579 MB / 0.7845 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008054/1.019, allocations: 5.853 MB / 0.7902 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.022, allocations: 1.991 MB / 0.7922 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01892/1.041, allocations: 6.776 MB / 0.7988 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/1.046, allocations: 2.555 MB / 0.8013 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.047, allocations: 272 kB / 0.8015 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03467/1.082, allocations: 17.02 MB / 0.8181 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/1.084, allocations: 1.13 MB / 0.8192 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/1.087, allocations: 1.436 MB / 0.8206 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03316/1.12, allocations: 12.27 MB / 0.8326 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.12, allocations: 0 / 0.8326 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.913e-06/1.12, allocations: 0 / 0.8326 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.118e-05/1.12, allocations: 7.922 kB / 0.8326 GB, free: 12.97 MB / 0.5763 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.01313/1.134, allocations: 4.783 MB / 0.8373 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.134, allocations: 11.89 kB / 0.8373 GB, free: 8.086 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/1.135, allocations: 277.1 kB / 0.8376 GB, free: 7.812 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/1.137, allocations: 1.36 MB / 0.8389 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/1.137, allocations: 143.5 kB / 0.839 GB, free: 6.254 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/1.138, allocations: 180 kB / 0.8392 GB, free: 6.078 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/1.144, allocations: 3.016 MB / 0.8422 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/1.144, allocations: 3.938 kB / 0.8422 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/1.144, allocations: 83.97 kB / 0.8422 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/1.145, allocations: 167.6 kB / 0.8424 GB, free: 2.742 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005763/1.15, allocations: 3.282 MB / 0.8456 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/1.172, allocations: 11.37 MB / 0.8567 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/1.177, allocations: 2.375 MB / 0.859 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/1.179, allocations: 1.043 MB / 0.8601 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2442/1.423, allocations: 4.686 MB / 0.8646 GB, free: 253.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.866e-05/1.423, allocations: 64.16 kB / 0.8647 GB, free: 253.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001788/1.425, allocations: 254.5 kB / 0.8649 GB, free: 253.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 1.068e-05/1.425, allocations: 3.188 kB / 0.8649 GB, free: 253.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.008521/1.434, allocations: 3.839 MB / 0.8687 GB, free: 253.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.434, allocations: 197.7 kB / 0.8689 GB, free: 253.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/1.436, allocations: 1.906 MB / 0.8707 GB, free: 252.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/1.437, allocations: 62.08 kB / 0.8708 GB, free: 252.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/1.437, allocations: 0.914 MB / 0.8717 GB, free: 251.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/1.438, allocations: 0.5313 MB / 0.8722 GB, free: 251.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/1.438, allocations: 458.8 kB / 0.8726 GB, free: 251.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/1.438, allocations: 312.3 kB / 0.8729 GB, free: 251 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/1.44, allocations: 1.115 MB / 0.874 GB, free: 250.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.442, allocations: 1.526 MB / 0.8755 GB, free: 249.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/1.446, allocations: 2.742 MB / 0.8782 GB, free: 248.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.446, allocations: 3 kB / 0.8782 GB, free: 248.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005542/1.451, allocations: 3.433 MB / 0.8816 GB, free: 247 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/1.451, allocations: 148.4 kB / 0.8817 GB, free: 246.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.451, allocations: 11.88 kB / 0.8817 GB, free: 246.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/1.456, allocations: 0.9283 MB / 0.8826 GB, free: 246.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.458, allocations: 453 kB / 0.883 GB, free: 246.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/1.46, allocations: 1.812 MB / 0.8848 GB, free: 245.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.462, allocations: 86.83 kB / 0.8849 GB, free: 245.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/1.462, allocations: 149.7 kB / 0.885 GB, free: 245.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002538/1.465, allocations: 1.482 MB / 0.8865 GB, free: 244.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001981/1.467, allocations: 1.494 MB / 0.8879 GB, free: 243.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003563/1.47, allocations: 2.67 MB / 0.8906 GB, free: 242.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-05/1.47, allocations: 3.922 kB / 0.8906 GB, free: 242.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.0064/1.477, allocations: 3.262 MB / 0.8937 GB, free: 241.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/1.477, allocations: 152.4 kB / 0.8939 GB, free: 240.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.477, allocations: 14.5 kB / 0.8939 GB, free: 240.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/1.479, allocations: 440.2 kB / 0.8943 GB, free: 240.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.481, allocations: 491.7 kB / 0.8948 GB, free: 240.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/1.483, allocations: 1.428 MB / 0.8962 GB, free: 239.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/1.485, allocations: 89.61 kB / 0.8963 GB, free: 239.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/1.486, allocations: 152 kB / 0.8964 GB, free: 239.6 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.001141/1.487, allocations: 304 kB / 0.8967 GB, free: 239.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.488, allocations: 218.5 kB / 0.8969 GB, free: 239.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008096/1.496, allocations: 3.844 MB / 0.9007 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.496, allocations: 18.55 kB / 0.9007 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.496, allocations: 1.531 kB / 0.9007 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.496, allocations: 9.516 kB / 0.9007 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.506, allocations: 5.015 MB / 0.9056 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.506, allocations: 3.828 kB / 0.9056 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.508, allocations: 296 kB / 0.9059 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004289/1.512, allocations: 0.8495 MB / 0.9067 GB, free: 235.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/1.513, allocations: 61.27 kB / 0.9068 GB, free: 235.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.515, allocations: 1.831 MB / 0.9086 GB, free: 234.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.515, allocations: 4.375 kB / 0.9086 GB, free: 234.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/1.522, allocations: 2.865 MB / 0.9114 GB, free: 232.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.523, allocations: 305.9 kB / 0.9116 GB, free: 232.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/1.523, allocations: 48.91 kB / 0.9117 GB, free: 232.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.525, allocations: 88.95 kB / 0.9118 GB, free: 232.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/1.525, allocations: 135.6 kB / 0.9119 GB, free: 232.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000277/1.526, allocations: 129.6 kB / 0.912 GB, free: 232.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002316/1.528, allocations: 1.436 MB / 0.9134 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/1.528, allocations: 0 / 0.9134 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008205/1.536, allocations: 2.707 MB / 0.9161 GB, free: 231.7 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.007745/1.544, allocations: 2.538 MB / 0.9186 GB, free: 231.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.555, allocations: 5.337 MB / 0.9238 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.555, allocations: 5.234 kB / 0.9238 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.558, allocations: 1.214 MB / 0.925 GB, free: 229 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006897/1.565, allocations: 1.309 MB / 0.9262 GB, free: 228.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007512/1.572, allocations: 4.166 MB / 0.9303 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009864/1.573, allocations: 1.615 MB / 0.9319 GB, free: 226 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004595/1.578, allocations: 1.087 MB / 0.9329 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/1.579, allocations: 249.8 kB / 0.9332 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.579, allocations: 0 / 0.9332 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1121/1.691, allocations: 93.69 MB / 1.025 GB, free: 132 MB / 0.5919 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)