Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002626/0.002626, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2443/0.2443, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 74.84 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1361, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002184/0.1383, allocations: 0.5152 MB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.1387, allocations: 162.2 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.1388, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1388, allocations: 3.938 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1391, allocations: 39.83 kB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.1392, allocations: 0 / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.1392, allocations: 27.84 kB / 481 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.1393, allocations: 4 kB / 481 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.1393, allocations: 3.938 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1394, allocations: 19.92 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1394, allocations: 4 kB / 481 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1395, allocations: 47.95 kB / 481 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.1396, allocations: 7.922 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1396, allocations: 15.92 kB / 481.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1397, allocations: 35.89 kB / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1397, allocations: 0 / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1397, allocations: 0 / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1397, allocations: 0 / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003796/0.1401, allocations: 343.7 kB / 481.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1402, allocations: 16.03 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.1402, allocations: 38.67 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1403, allocations: 8.844 kB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1404, allocations: 164.3 kB / 481.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1404, allocations: 4.375 kB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1404, allocations: 4.375 kB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1406, allocations: 58.23 kB / 481.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1406, allocations: 3.938 kB / 481.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1406, allocations: 4 kB / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1406, allocations: 0 / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1408, allocations: 59.89 kB / 481.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.141, allocations: 169.7 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1411, allocations: 78.55 kB / 482 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.1412, allocations: 32.84 kB / 482.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.1416, allocations: 247.3 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1416, allocations: 38.56 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1417, allocations: 288 / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002617/0.1419, allocations: 109.5 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.142, allocations: 55.34 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.1421, allocations: 97.86 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1421, allocations: 25.7 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.1421, allocations: 80.14 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.1422, allocations: 31.55 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.1422, allocations: 34.2 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1424, allocations: 310.8 kB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.1424, allocations: 15.98 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.1425, allocations: 23.94 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.1426, allocations: 48.84 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1426, allocations: 3.938 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001363/0.1427, allocations: 85.59 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1428, allocations: 7.938 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1428, allocations: 0 / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1428, allocations: 4 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1429, allocations: 23.92 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1429, allocations: 0 / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.1429, allocations: 3.938 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.143, allocations: 4 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.143, allocations: 113.8 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.1431, allocations: 7.938 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.1433, allocations: 109.6 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1433, allocations: 4 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1433, allocations: 0 / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.1433, allocations: 4.359 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1435, allocations: 173.6 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1435, allocations: 0 / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.1436, allocations: 15.98 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1436, allocations: 7.875 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1436, allocations: 0 / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1436, allocations: 4 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1436, allocations: 3.938 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1438, allocations: 109.1 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.1438, allocations: 92.94 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1438, allocations: 3.938 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.1439, allocations: 4 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.1439, allocations: 7.938 kB / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1439, allocations: 4 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.144, allocations: 79.28 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.144, allocations: 0 / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1442, allocations: 19.98 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004858/0.1447, allocations: 0.6475 MB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1448, allocations: 55.92 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1448, allocations: 4.094 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.1449, allocations: 36.3 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.145, allocations: 10.23 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.1456, allocations: 170.6 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1459, allocations: 0.6807 MB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.1459, allocations: 11.98 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.146, allocations: 19.38 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.146, allocations: 0 / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1704, allocations: 1.543 MB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.084, allocations: 7.688 kB / 487.2 MB, free: 13.72 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)