Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 230.3 MB, free: 7.656 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009089, allocations: 84 kB / 281.2 MB, free: 5.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.162/0.162, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1899/0.3519, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.4566, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.715, allocations: 0.7581 GB / 1.252 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/1.715, allocations: 87.78 kB / 1.252 GB, free: 85.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 3.526/5.242, allocations: 1.148 GB / 2.4 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/5.242, allocations: 15.38 kB / 2.4 GB, free: 56.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/5.247, allocations: 465.2 kB / 2.401 GB, free: 56.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/5.25, allocations: 1.195 MB / 2.402 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/5.25, allocations: 40.91 kB / 2.402 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006468/5.251, allocations: 69.81 kB / 2.402 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005953/5.257, allocations: 3.578 MB / 2.405 GB, free: 56.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/5.261, allocations: 2.474 MB / 2.408 GB, free: 56.06 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/5.261, allocations: 0 / 2.408 GB, free: 56.06 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/5.262, allocations: 2.906 kB / 2.408 GB, free: 56.06 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/5.262, allocations: 149.2 kB / 2.408 GB, free: 56.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/5.28, allocations: 9.067 MB / 2.417 GB, free: 53.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/5.282, allocations: 1.551 MB / 2.418 GB, free: 53.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/5.283, allocations: 0.9817 MB / 2.419 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/5.284, allocations: 0.9349 MB / 2.42 GB, free: 52.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/5.284, allocations: 46.67 kB / 2.42 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/5.284, allocations: 0 / 2.42 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.005711/5.29, allocations: 2.6 MB / 2.423 GB, free: 52.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/5.29, allocations: 138.3 kB / 2.423 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/5.292, allocations: 0.7973 MB / 2.424 GB, free: 52.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/5.292, allocations: 25.7 kB / 2.424 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/5.292, allocations: 0.5418 MB / 2.424 GB, free: 51.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/5.292, allocations: 253.6 kB / 2.425 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/5.292, allocations: 3.938 kB / 2.425 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/5.293, allocations: 350.7 kB / 2.425 GB, free: 51.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/5.294, allocations: 0.9794 MB / 2.426 GB, free: 51.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/5.295, allocations: 1.151 MB / 2.427 GB, free: 51.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/5.299, allocations: 1.681 MB / 2.429 GB, free: 51.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/5.299, allocations: 0 / 2.429 GB, free: 51.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006959/5.306, allocations: 3.443 MB / 2.432 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003582/5.307, allocations: 1.573 MB / 2.434 GB, free: 49.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/5.307, allocations: 5.062 kB / 2.434 GB, free: 49.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02066/5.327, allocations: 3.744 MB / 2.437 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/5.329, allocations: 196 kB / 2.437 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/5.334, allocations: 2.813 MB / 2.44 GB, free: 48.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/5.336, allocations: 124.1 kB / 2.44 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/5.336, allocations: 83.47 kB / 2.44 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/5.336, allocations: 3.5 kB / 2.44 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006375/5.343, allocations: 2.801 MB / 2.443 GB, free: 48.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/5.343, allocations: 5.969 kB / 2.443 GB, free: 48.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/5.343, allocations: 159.6 kB / 2.443 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/5.345, allocations: 275.1 kB / 2.443 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/5.348, allocations: 2.037 MB / 2.445 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/5.349, allocations: 99.34 kB / 2.446 GB, free: 47.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/5.35, allocations: 86.06 kB / 2.446 GB, free: 47.53 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.0005481/5.35, allocations: 125 kB / 2.446 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/5.351, allocations: 103.2 kB / 2.446 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/5.359, allocations: 5.276 MB / 2.451 GB, free: 47.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/5.359, allocations: 10.02 kB / 2.451 GB, free: 47.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/5.359, allocations: 2.438 kB / 2.451 GB, free: 47.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/5.359, allocations: 3.562 kB / 2.451 GB, free: 47.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00638/5.365, allocations: 3.729 MB / 2.455 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/5.365, allocations: 3.719 kB / 2.455 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/5.366, allocations: 82.16 kB / 2.455 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/5.377, allocations: 2.545 MB / 2.457 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003597/5.377, allocations: 15.16 kB / 2.457 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/5.381, allocations: 2.366 MB / 2.46 GB, free: 46.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/5.381, allocations: 0 / 2.46 GB, free: 46.37 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004576/5.385, allocations: 2.296 MB / 2.462 GB, free: 46.14 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004641/5.39, allocations: 2.772 MB / 2.464 GB, free: 45.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/5.391, allocations: 210.1 kB / 2.465 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/5.391, allocations: 3.875 kB / 2.465 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/5.393, allocations: 83.86 kB / 2.465 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/5.393, allocations: 51.09 kB / 2.465 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/5.393, allocations: 58.75 kB / 2.465 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0009029/5.394, allocations: 0.6073 MB / 2.465 GB, free: 45.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008403/5.402, allocations: 2.146 MB / 2.468 GB, free: 45.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.00927/5.412, allocations: 2.493 MB / 2.47 GB, free: 44.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006594/5.418, allocations: 3.268 MB / 2.473 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/5.418, allocations: 4.375 kB / 2.473 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/5.42, allocations: 0.8244 MB / 2.474 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/5.423, allocations: 461.8 kB / 2.474 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/5.429, allocations: 2.086 MB / 2.476 GB, free: 43.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/5.43, allocations: 1.452 MB / 2.478 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/5.43, allocations: 0 / 2.478 GB, free: 43.21 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)