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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003996/0.003995, allocations: 172.5 kB / 7.447 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.635/1.635, allocations: 170.6 MB / 178.4 MB, free: 15.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001914/0.001915, allocations: 120.5 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2199/0.2199, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.177e-06, allocations: 1.469 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.785/8.921, allocations: 3.661 GB / 4.05 GB, free: 42.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/8.922, allocations: 86.81 kB / 4.05 GB, free: 42.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.714/15.64, allocations: 1.427 GB / 5.477 GB, free: 5.887 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0003178/15.64, allocations: 59.48 kB / 5.477 GB, free: 5.832 MB / 0.4949 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.03346/15.67, allocations: 7.141 MB / 5.484 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/15.67, allocations: 8.031 kB / 5.484 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/15.67, allocations: 280.3 kB / 5.484 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/15.68, allocations: 1.524 MB / 5.486 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/15.68, allocations: 60 kB / 5.486 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/15.68, allocations: 104 kB / 5.486 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007687/15.69, allocations: 2.916 MB / 5.489 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/15.7, allocations: 2.673 MB / 5.491 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/15.7, allocations: 11.94 kB / 5.491 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008219/15.7, allocations: 4 kB / 5.491 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/15.7, allocations: 174.7 kB / 5.491 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4232/16.12, allocations: 11.49 MB / 5.503 GB, free: 51.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/16.12, allocations: 1.507 MB / 5.504 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/16.12, allocations: 0.7038 MB / 5.505 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/16.13, allocations: 2.534 MB / 5.507 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/16.13, allocations: 56.31 kB / 5.507 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 3.897e-06/16.13, allocations: 3.891 kB / 5.507 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141): time 0.006191/16.13, allocations: 2.08 MB / 5.509 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/16.13, allocations: 200.7 kB / 5.509 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/16.13, allocations: 1.154 MB / 5.511 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/16.14, allocations: 29.33 kB / 5.511 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/16.14, allocations: 0.8176 MB / 5.511 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/16.14, allocations: 484.6 kB / 5.512 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/16.14, allocations: 3.906 kB / 5.512 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001384/16.14, allocations: 390.4 kB / 5.512 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/16.14, allocations: 0.7968 MB / 5.513 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/16.14, allocations: 1.458 MB / 5.514 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/16.15, allocations: 3.374 MB / 5.518 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.471e-05/16.15, allocations: 9.281 kB / 5.518 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.02084/16.18, allocations: 4.935 MB / 5.523 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001817/16.18, allocations: 8.033 MB / 5.53 GB, free: 38.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/16.18, allocations: 21.97 kB / 5.53 GB, free: 38.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/16.18, allocations: 343.2 kB / 5.531 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/16.18, allocations: 495.6 kB / 5.531 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/16.18, allocations: 1.846 MB / 5.533 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/16.19, allocations: 261.2 kB / 5.533 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000678/16.19, allocations: 163.4 kB / 5.533 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/16.19, allocations: 2.938 kB / 5.533 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01927/16.21, allocations: 4.484 MB / 5.538 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/16.21, allocations: 18.88 kB / 5.538 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/16.21, allocations: 169.4 kB / 5.538 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/16.21, allocations: 0.5528 MB / 5.539 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/16.21, allocations: 1.437 MB / 5.54 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/16.22, allocations: 193.4 kB / 5.54 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/16.22, allocations: 164.7 kB / 5.54 GB, free: 35.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000957/16.22, allocations: 171.8 kB / 5.54 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/16.22, allocations: 172.6 kB / 5.541 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/16.23, allocations: 3.376 MB / 5.544 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/16.23, allocations: 19.91 kB / 5.544 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/16.23, allocations: 5.328 kB / 5.544 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/16.23, allocations: 7.078 kB / 5.544 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/16.24, allocations: 5.958 MB / 5.55 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/16.24, allocations: 10.77 kB / 5.55 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/16.24, allocations: 282.4 kB / 5.55 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/16.24, allocations: 325.3 kB / 5.55 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/16.24, allocations: 42.34 kB / 5.55 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/16.25, allocations: 1.866 MB / 5.552 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/16.25, allocations: 13.47 kB / 5.552 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007497/16.25, allocations: 3.088 MB / 5.555 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/16.26, allocations: 315.5 kB / 5.556 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000689/16.26, allocations: 11.41 kB / 5.556 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/16.26, allocations: 80.19 kB / 5.556 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/16.26, allocations: 123.6 kB / 5.556 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/16.26, allocations: 107.2 kB / 5.556 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001744/16.26, allocations: 0.8558 MB / 5.557 GB, free: 31.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01383/16.27, allocations: 2.971 MB / 5.56 GB, free: 31.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0172/16.29, allocations: 4.549 MB / 5.564 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009203/16.3, allocations: 3.464 MB / 5.567 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/16.3, allocations: 3.906 kB / 5.567 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/16.3, allocations: 0.8632 MB / 5.568 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/16.31, allocations: 0.7157 MB / 5.569 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/16.32, allocations: 3.302 MB / 5.572 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/16.32, allocations: 1.945 MB / 5.574 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/16.32, allocations: 2.031 kB / 5.574 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.1598/16.48, allocations: 88.02 MB / 5.66 GB, free: 39.19 MB / 0.5261 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)