Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.001881/0.001881, allocations: 185.1 kB / 7.8 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.484/1.484, 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.0009258/0.0009258, allocations: 90.34 kB / 261.4 MB, free: 13.56 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.2137/0.2137, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2337/0.4475, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.8365, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.477/2.313, allocations: 0.5961 GB / 1.062 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/2.314, allocations: 93.58 kB / 1.062 GB, free: 162 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.9267/3.241, allocations: 279.8 MB / 1.335 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/3.241, allocations: 8 kB / 1.335 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/3.242, allocations: 155 kB / 1.335 GB, free: 75.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/3.243, allocations: 0.499 MB / 1.336 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/3.243, allocations: 19.91 kB / 1.336 GB, free: 74.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/3.244, allocations: 24 kB / 1.336 GB, free: 74.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008/3.244, allocations: 425.9 kB / 1.336 GB, free: 74.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/3.245, allocations: 0.5391 MB / 1.337 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/3.245, allocations: 0 / 1.337 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/3.245, allocations: 4 kB / 1.337 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/3.245, allocations: 12 kB / 1.337 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/3.249, allocations: 2.634 MB / 1.339 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/3.249, allocations: 220.3 kB / 1.339 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/3.25, allocations: 128.8 kB / 1.34 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/3.25, allocations: 317.7 kB / 1.34 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/3.25, allocations: 38.56 kB / 1.34 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/3.25, allocations: 0 / 1.34 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002802/3.253, allocations: 0.8213 MB / 1.341 GB, free: 69.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/3.253, allocations: 158.2 kB / 1.341 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/3.253, allocations: 393 kB / 1.341 GB, free: 68.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/3.253, allocations: 25.7 kB / 1.341 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/3.254, allocations: 259.3 kB / 1.341 GB, free: 68.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/3.254, allocations: 110.4 kB / 1.342 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/3.254, allocations: 0 / 1.342 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/3.254, allocations: 354.8 kB / 1.342 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/3.254, allocations: 125 kB / 1.342 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/3.254, allocations: 301.4 kB / 1.342 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/3.256, allocations: 0.6474 MB / 1.343 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/3.256, allocations: 0 / 1.343 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002812/3.259, allocations: 0.9693 MB / 1.344 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/3.259, allocations: 8 kB / 1.344 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/3.259, allocations: 8.562 kB / 1.344 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/3.26, allocations: 52.83 kB / 1.344 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/3.26, allocations: 123.7 kB / 1.344 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005363/3.261, allocations: 0.6225 MB / 1.345 GB, free: 65.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/3.261, allocations: 59.62 kB / 1.345 GB, free: 65.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/3.261, allocations: 51.98 kB / 1.345 GB, free: 64.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/3.261, allocations: 112.9 kB / 1.345 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/3.262, allocations: 55.34 kB / 1.345 GB, free: 64.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/3.264, allocations: 0.7013 MB / 1.346 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/3.264, allocations: 0 / 1.346 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/3.264, allocations: 0 / 1.346 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/3.264, allocations: 7.984 kB / 1.346 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/3.266, allocations: 1.148 MB / 1.347 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/3.266, allocations: 4 kB / 1.347 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/3.266, allocations: 51.91 kB / 1.347 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/3.266, allocations: 44.83 kB / 1.347 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/3.266, allocations: 8 kB / 1.347 GB, free: 62.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000523/3.267, allocations: 0.6111 MB / 1.347 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/3.267, allocations: 0 / 1.347 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001233/3.268, allocations: 0.6685 MB / 1.348 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001454/3.269, allocations: 1.103 MB / 1.349 GB, free: 60.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/3.27, allocations: 156.3 kB / 1.349 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/3.27, allocations: 4 kB / 1.349 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/3.27, allocations: 23.97 kB / 1.349 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/3.27, allocations: 19.98 kB / 1.349 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/3.27, allocations: 15.98 kB / 1.349 GB, free: 59.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004077/3.271, allocations: 330.9 kB / 1.35 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002807/3.274, allocations: 0.5851 MB / 1.35 GB, free: 58.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003531/3.277, allocations: 1.539 MB / 1.352 GB, free: 57.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009618/3.278, allocations: 332.1 kB / 1.352 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/3.278, allocations: 0 / 1.352 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/3.279, allocations: 129.5 kB / 1.352 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/3.28, allocations: 248 kB / 1.352 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/3.282, allocations: 0.5955 MB / 1.353 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008349/3.282, allocations: 0.9949 MB / 1.354 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/3.282, allocations: 0 / 1.354 GB, free: 55.23 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)