Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 184.8 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009971/0.0009969, allocations: 91.31 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2581/0.4979, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.9341, allocations: 58.83 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7247/1.659, allocations: 315.9 MB / 0.774 GB, free: 20.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.659, allocations: 83.2 kB / 0.7741 GB, free: 20.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.5813/2.241, allocations: 97.84 MB / 0.8696 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/2.241, allocations: 9.312 kB / 0.8696 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/2.241, allocations: 63.14 kB / 0.8697 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/2.243, allocations: 462.3 kB / 0.8701 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/2.243, allocations: 13.81 kB / 0.8701 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/2.243, allocations: 17.62 kB / 0.8702 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009215/2.244, allocations: 397.5 kB / 0.8705 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/2.245, allocations: 498.3 kB / 0.871 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/2.245, allocations: 3.844 kB / 0.871 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/2.245, allocations: 2.844 kB / 0.871 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/2.245, allocations: 32.92 kB / 0.8711 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/2.249, allocations: 2.186 MB / 0.8732 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/2.249, allocations: 221.4 kB / 0.8734 GB, free: 148 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/2.25, allocations: 131 kB / 0.8735 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/2.251, allocations: 1.038 MB / 0.8745 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/2.252, allocations: 206.9 kB / 0.8747 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.917e-06/2.252, allocations: 0 / 0.8747 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0009379/2.253, allocations: 249.9 kB / 0.875 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.253, allocations: 235.9 kB / 0.8752 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/2.253, allocations: 376.6 kB / 0.8756 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/2.253, allocations: 36.17 kB / 0.8756 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/2.254, allocations: 243.9 kB / 0.8758 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/2.254, allocations: 52.27 kB / 0.8759 GB, free: 146 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/2.254, allocations: 0 / 0.8759 GB, free: 146 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001418/2.254, allocations: 352.8 kB / 0.8762 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/2.254, allocations: 115.1 kB / 0.8763 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/2.254, allocations: 295.3 kB / 0.8766 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/2.258, allocations: 0.6482 MB / 0.8772 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/2.258, allocations: 1.312 kB / 0.8772 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.004441/2.263, allocations: 0.9062 MB / 0.8781 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007067/2.263, allocations: 1.654 MB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/2.263, allocations: 5.875 kB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-05/2.263, allocations: 7.656 kB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/2.264, allocations: 75.44 kB / 0.8798 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/2.264, allocations: 12.75 kB / 0.8798 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/2.265, allocations: 52.75 kB / 0.8799 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/2.265, allocations: 17.69 kB / 0.8799 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/2.265, allocations: 4.531 kB / 0.8799 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004787/2.27, allocations: 0.8106 MB / 0.8807 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/2.27, allocations: 3.188 kB / 0.8807 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.757e-05/2.27, allocations: 10.69 kB / 0.8807 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/2.27, allocations: 78.73 kB / 0.8808 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/2.27, allocations: 6.844 kB / 0.8808 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/2.272, allocations: 36.22 kB / 0.8808 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/2.272, allocations: 26.05 kB / 0.8808 GB, free: 143.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005356/2.273, allocations: 146.4 kB / 0.881 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/2.273, allocations: 46.5 kB / 0.881 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/2.274, allocations: 305.3 kB / 0.8813 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/2.274, allocations: 1.438 kB / 0.8813 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/2.274, allocations: 1.156 kB / 0.8813 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/2.274, allocations: 1.078 kB / 0.8813 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/2.276, allocations: 365.3 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/2.276, allocations: 3.906 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/2.277, allocations: 26.34 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/2.277, allocations: 1.344 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/2.277, allocations: 4.891 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/2.277, allocations: 1.188 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/2.277, allocations: 4.703 kB / 0.8817 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007799/2.277, allocations: 294.5 kB / 0.882 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008593/2.278, allocations: 0.6785 MB / 0.8827 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/2.279, allocations: 125.2 kB / 0.8828 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/2.279, allocations: 11.03 kB / 0.8828 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/2.279, allocations: 13.19 kB / 0.8828 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/2.279, allocations: 13.38 kB / 0.8828 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/2.279, allocations: 9.641 kB / 0.8828 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004394/2.28, allocations: 285.1 kB / 0.8831 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003541/2.283, allocations: 0.519 MB / 0.8836 GB, free: 141.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/2.285, allocations: 0.5011 MB / 0.8841 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001486/2.287, allocations: 0.5157 MB / 0.8846 GB, free: 141 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/2.287, allocations: 1.25 kB / 0.8846 GB, free: 141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/2.287, allocations: 149.6 kB / 0.8847 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/2.288, allocations: 145.1 kB / 0.8849 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/2.29, allocations: 0.5372 MB / 0.8854 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008924/2.291, allocations: 0.9026 MB / 0.8863 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/2.291, allocations: 1.438 kB / 0.8863 GB, free: 139.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)