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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [: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.2+maint.om/package.mo): time 0.002721/0.002721, allocations: 179.8 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.278/1.278, allocations: 194.2 MB / 202.1 MB, free: 8.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 113.2 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1871/0.1871, allocations: 39.94 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-06/5.049e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08656, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.445/6.532, allocations: 3.668 GB / 4.105 GB, free: 16.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/6.532, allocations: 79.95 kB / 4.105 GB, free: 16.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.906/12.44, allocations: 1.437 GB / 5.542 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003879/12.44, allocations: 66.81 kB / 5.542 GB, free: 32.31 MB / 0.5573 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.03155/12.47, allocations: 7.153 MB / 5.549 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/12.47, allocations: 14.56 kB / 5.549 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/12.47, allocations: 272 kB / 5.549 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/12.48, allocations: 1.519 MB / 5.55 GB, free: 28.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/12.48, allocations: 61.47 kB / 5.55 GB, free: 28.28 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007945/12.48, allocations: 106.2 kB / 5.55 GB, free: 28.28 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005364/12.48, allocations: 2.915 MB / 5.553 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/12.49, allocations: 2.674 MB / 5.556 GB, free: 28.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/12.49, allocations: 3 kB / 5.556 GB, free: 28.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/12.49, allocations: 3.156 kB / 5.556 GB, free: 28.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/12.49, allocations: 175.2 kB / 5.556 GB, free: 28 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02118/12.51, allocations: 11.85 MB / 5.568 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/12.51, allocations: 1.507 MB / 5.569 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/12.52, allocations: 0.7 MB / 5.57 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/12.52, allocations: 2.535 MB / 5.572 GB, free: 19.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/12.52, allocations: 54.06 kB / 5.572 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=141): time 4.378e-06/12.52, allocations: 0 / 5.572 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141): time 0.00648/12.52, allocations: 2.08 MB / 5.574 GB, free: 19.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/12.52, allocations: 205.4 kB / 5.575 GB, free: 19.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/12.53, allocations: 1.144 MB / 5.576 GB, free: 19.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/12.53, allocations: 29.45 kB / 5.576 GB, free: 19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/12.53, allocations: 0.8244 MB / 5.577 GB, free: 18.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/12.53, allocations: 478 kB / 5.577 GB, free: 18.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/12.53, allocations: 2.531 kB / 5.577 GB, free: 18.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/12.53, allocations: 391 kB / 5.577 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/12.53, allocations: 0.7981 MB / 5.578 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/12.53, allocations: 1.458 MB / 5.58 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/12.55, allocations: 3.374 MB / 5.583 GB, free: 17.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-05/12.55, allocations: 5.844 kB / 5.583 GB, free: 17.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.02152/12.57, allocations: 4.935 MB / 5.588 GB, free: 16.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001697/12.57, allocations: 8.042 MB / 5.596 GB, free: 24.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/12.57, allocations: 20.31 kB / 5.596 GB, free: 24.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/12.57, allocations: 327.3 kB / 5.596 GB, free: 24.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/12.57, allocations: 0.4951 MB / 5.596 GB, free: 24.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/12.58, allocations: 1.844 MB / 5.598 GB, free: 23.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/12.58, allocations: 266.3 kB / 5.598 GB, free: 23.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006695/12.58, allocations: 163.9 kB / 5.599 GB, free: 23.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/12.58, allocations: 7.906 kB / 5.599 GB, free: 23.38 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01825/12.6, allocations: 4.484 MB / 5.603 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.68e-05/12.6, allocations: 20.38 kB / 5.603 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/12.6, allocations: 172.1 kB / 5.603 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/12.6, allocations: 0.549 MB / 5.604 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/12.6, allocations: 1.438 MB / 5.605 GB, free: 22.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/12.61, allocations: 194.7 kB / 5.605 GB, free: 22.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006463/12.61, allocations: 166.4 kB / 5.605 GB, free: 22.19 MB / 0.573 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.001094/12.61, allocations: 165 kB / 5.606 GB, free: 22.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006901/12.61, allocations: 175.6 kB / 5.606 GB, free: 21.98 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/12.62, allocations: 3.38 MB / 5.609 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/12.62, allocations: 17.8 kB / 5.609 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/12.62, allocations: 0 / 5.609 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/12.62, allocations: 6 kB / 5.609 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/12.63, allocations: 5.977 MB / 5.615 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/12.63, allocations: 6.688 kB / 5.615 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/12.63, allocations: 279.1 kB / 5.615 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009448/12.63, allocations: 324.4 kB / 5.615 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/12.63, allocations: 39.28 kB / 5.616 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/12.64, allocations: 1.867 MB / 5.617 GB, free: 19.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/12.64, allocations: 13.22 kB / 5.617 GB, free: 19.29 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006927/12.64, allocations: 3.096 MB / 5.62 GB, free: 18.01 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/12.65, allocations: 313.7 kB / 5.621 GB, free: 17.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005723/12.65, allocations: 13.94 kB / 5.621 GB, free: 17.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/12.65, allocations: 79.83 kB / 5.621 GB, free: 17.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/12.65, allocations: 121.5 kB / 5.621 GB, free: 17.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/12.65, allocations: 107.1 kB / 5.621 GB, free: 17.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001671/12.65, allocations: 0.8596 MB / 5.622 GB, free: 17.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01107/12.66, allocations: 2.97 MB / 5.625 GB, free: 17 MB / 0.573 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.0128/12.67, allocations: 4.549 MB / 5.629 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007266/12.68, allocations: 3.468 MB / 5.633 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/12.68, allocations: 3.062 kB / 5.633 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/12.68, allocations: 0.8598 MB / 5.633 GB, free: 15.61 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/12.69, allocations: 0.7266 MB / 5.634 GB, free: 15.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007677/12.69, allocations: 3.299 MB / 5.637 GB, free: 14.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/12.7, allocations: 1.947 MB / 5.639 GB, free: 13.93 MB / 0.573 GB Notification: Performance of SimCode: time 2.364e-06/12.7, allocations: 0.75 kB / 5.639 GB, free: 13.93 MB / 0.573 GB Notification: Performance of Templates: time 0.1389/12.84, allocations: 88.04 MB / 5.725 GB, free: 4.281 MB / 0.5886 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)