Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 190.1 kB / 7.804 MB, free: 2.441 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.73/1.73, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009728/0.0009728, allocations: 97.59 kB / 261.4 MB, free: 13.59 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.2424/0.2424, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2595/0.5019, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.9117, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.833, allocations: 0.7913 GB / 1.257 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/2.833, allocations: 84.7 kB / 1.257 GB, free: 169.3 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 4.364/7.197, allocations: 1.145 GB / 2.402 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/7.197, allocations: 7.5 kB / 2.402 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/7.202, allocations: 475.1 kB / 2.403 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/7.206, allocations: 1.191 MB / 2.404 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/7.207, allocations: 41.95 kB / 2.404 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008199/7.207, allocations: 64.78 kB / 2.404 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007249/7.215, allocations: 3.559 MB / 2.407 GB, free: 98.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/7.219, allocations: 2.471 MB / 2.41 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/7.219, allocations: 2.156 kB / 2.41 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/7.219, allocations: 3.625 kB / 2.41 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/7.219, allocations: 148.6 kB / 2.41 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/7.239, allocations: 9.103 MB / 2.419 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/7.241, allocations: 1.552 MB / 2.42 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/7.242, allocations: 0.9823 MB / 2.421 GB, free: 95.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/7.244, allocations: 1.131 MB / 2.422 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/7.244, allocations: 46.3 kB / 2.422 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 4.399e-06/7.244, allocations: 0 / 2.422 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.005341/7.249, allocations: 2.492 MB / 2.425 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/7.25, allocations: 134.3 kB / 2.425 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/7.251, allocations: 0.7977 MB / 2.426 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/7.251, allocations: 29.52 kB / 2.426 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/7.251, allocations: 0.5423 MB / 2.426 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/7.252, allocations: 255.5 kB / 2.427 GB, free: 93.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/7.252, allocations: 0 / 2.427 GB, free: 93.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001225/7.252, allocations: 345.9 kB / 2.427 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/7.253, allocations: 0.9773 MB / 2.428 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/7.255, allocations: 1.157 MB / 2.429 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/7.266, allocations: 2.575 MB / 2.432 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-05/7.266, allocations: 0 / 2.432 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01415/7.28, allocations: 4.335 MB / 2.436 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003106/7.28, allocations: 1.576 MB / 2.437 GB, free: 91.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/7.28, allocations: 6.969 kB / 2.437 GB, free: 91.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02059/7.301, allocations: 3.738 MB / 2.441 GB, free: 91.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/7.303, allocations: 194.7 kB / 2.441 GB, free: 91.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/7.309, allocations: 2.796 MB / 2.444 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/7.312, allocations: 122.8 kB / 2.444 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005557/7.312, allocations: 83.94 kB / 2.444 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/7.312, allocations: 3.969 kB / 2.444 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01643/7.329, allocations: 3.697 MB / 2.448 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/7.329, allocations: 7.453 kB / 2.448 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/7.33, allocations: 157.6 kB / 2.448 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/7.331, allocations: 271.2 kB / 2.448 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/7.334, allocations: 2.033 MB / 2.45 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/7.337, allocations: 105.9 kB / 2.45 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/7.337, allocations: 79.5 kB / 2.45 GB, free: 89.45 MB / 0.5261 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.0007069/7.338, allocations: 128.8 kB / 2.45 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/7.338, allocations: 105.3 kB / 2.45 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006877/7.345, allocations: 2.758 MB / 2.453 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/7.345, allocations: 12.33 kB / 2.453 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.345, allocations: 1.125 kB / 2.453 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/7.345, allocations: 3.844 kB / 2.453 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007614/7.353, allocations: 3.619 MB / 2.457 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/7.353, allocations: 0 / 2.457 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/7.354, allocations: 86.66 kB / 2.457 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/7.365, allocations: 2.541 MB / 2.459 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004729/7.365, allocations: 15.38 kB / 2.459 GB, free: 88.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/7.369, allocations: 2.348 MB / 2.462 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/7.369, allocations: 3.906 kB / 2.462 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004208/7.373, allocations: 2.177 MB / 2.464 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004278/7.378, allocations: 2.663 MB / 2.466 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/7.378, allocations: 206.3 kB / 2.467 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/7.379, allocations: 6.5 kB / 2.467 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/7.381, allocations: 76.86 kB / 2.467 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/7.381, allocations: 50.42 kB / 2.467 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/7.381, allocations: 57.17 kB / 2.467 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001029/7.382, allocations: 0.6053 MB / 2.467 GB, free: 87.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009295/7.392, allocations: 2.332 MB / 2.47 GB, free: 87.18 MB / 0.5261 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.009347/7.401, allocations: 2.827 MB / 2.472 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008243/7.409, allocations: 3.257 MB / 2.476 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/7.409, allocations: 4.188 kB / 2.476 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/7.411, allocations: 0.8253 MB / 2.476 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/7.414, allocations: 457.2 kB / 2.477 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/7.422, allocations: 2.074 MB / 2.479 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/7.424, allocations: 1.436 MB / 2.48 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/7.424, allocations: 0 / 2.48 GB, free: 85.66 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)