Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 127.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002258/0.002258, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.93 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 84.16 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1212, allocations: 66.03 MB / 0.5554 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001635/0.1228, allocations: 0.4899 MB / 0.5559 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1247, allocations: 1.419 MB / 0.5573 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.1247, allocations: 0 / 0.5573 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.1247, allocations: 0 / 0.5573 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.1247, allocations: 0 / 0.5573 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.1254, allocations: 217.7 kB / 0.5575 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.1255, allocations: 7.984 kB / 0.5575 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1255, allocations: 4 kB / 0.5575 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.1255, allocations: 4 kB / 0.5575 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.1256, allocations: 7.938 kB / 0.5575 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1256, allocations: 7.938 kB / 0.5575 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.126, allocations: 275.6 kB / 0.5578 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.126, allocations: 3.984 kB / 0.5578 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.126, allocations: 4 kB / 0.5578 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1263, allocations: 139.6 kB / 0.558 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1263, allocations: 0 / 0.558 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1263, allocations: 3.938 kB / 0.558 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1263, allocations: 0 / 0.558 GB, free: 2.973 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004041/0.1267, allocations: 339.3 kB / 0.5583 GB, free: 2.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1267, allocations: 15.97 kB / 0.5583 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.1268, allocations: 34.75 kB / 0.5583 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.1268, allocations: 0.9375 kB / 0.5583 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1269, allocations: 164.4 kB / 0.5585 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1269, allocations: 384 / 0.5585 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.1269, allocations: 384 / 0.5585 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.127, allocations: 37.83 kB / 0.5585 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.127, allocations: 0 / 0.5585 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.127, allocations: 0 / 0.5585 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.127, allocations: 4 kB / 0.5585 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.127, allocations: 7.938 kB / 0.5585 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1272, allocations: 149.7 kB / 0.5587 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.1272, allocations: 18.58 kB / 0.5587 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.1273, allocations: 4.859 kB / 0.5587 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1273, allocations: 8.047 kB / 0.5587 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1273, allocations: 34.5 kB / 0.5587 GB, free: 2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1273, allocations: 4 kB / 0.5587 GB, free: 1.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.1274, allocations: 41.62 kB / 0.5588 GB, free: 1.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1275, allocations: 51.41 kB / 0.5588 GB, free: 1.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.1275, allocations: 93.86 kB / 0.5589 GB, free: 1.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1276, allocations: 25.7 kB / 0.5589 GB, free: 1.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1276, allocations: 84.14 kB / 0.559 GB, free: 1.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1276, allocations: 7.891 kB / 0.559 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1277, allocations: 17.95 kB / 0.559 GB, free: 1.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1278, allocations: 318.8 kB / 0.5594 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.1278, allocations: 0 / 0.5594 GB, free: 1.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1278, allocations: 0 / 0.5594 GB, free: 1.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.1278, allocations: 12.86 kB / 0.5594 GB, free: 1.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1278, allocations: 0 / 0.5594 GB, free: 1.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.24e-05/0.1279, allocations: 41.58 kB / 0.5594 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1279, allocations: 4 kB / 0.5594 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1279, allocations: 8.078 kB / 0.5594 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1279, allocations: 0 / 0.5594 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.128, allocations: 7.938 kB / 0.5594 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.128, allocations: 0 / 0.5594 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.128, allocations: 0 / 0.5594 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.128, allocations: 3.938 kB / 0.5594 GB, free: 1.23 MB / 414.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 (1): * Single equations (assignments): 1 * 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.384e-05/0.1281, allocations: 113.8 kB / 0.5595 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1281, allocations: 3.938 kB / 0.5595 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1282, allocations: 44.81 kB / 0.5596 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1282, allocations: 3.938 kB / 0.5596 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1282, allocations: 0 / 0.5596 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1282, allocations: 0 / 0.5596 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1283, allocations: 153.7 kB / 0.5597 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.1284, allocations: 0 / 0.5597 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1284, allocations: 3.938 kB / 0.5597 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1284, allocations: 0 / 0.5597 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1284, allocations: 4.031 kB / 0.5597 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1284, allocations: 4 kB / 0.5597 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1284, allocations: 0 / 0.5597 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.762e-05/0.1284, allocations: 57.12 kB / 0.5598 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.1285, allocations: 85.05 kB / 0.5599 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1285, allocations: 0 / 0.5599 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1286, allocations: 4 kB / 0.5599 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1286, allocations: 32 / 0.5599 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1286, allocations: 4 kB / 0.5599 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.1286, allocations: 79.28 kB / 0.56 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1286, allocations: 0 / 0.56 GB, free: 0.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1289, allocations: 39.92 kB / 0.56 GB, free: 0.543 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005985/0.1295, allocations: 0.6398 MB / 0.5606 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.737e-05/0.1295, allocations: 4 kB / 0.5606 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1295, allocations: 0 / 0.5606 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.1296, allocations: 33.64 kB / 0.5607 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1297, allocations: 3.984 kB / 0.5607 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1301, allocations: 122.6 kB / 0.5608 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1304, allocations: 0.669 MB / 0.5614 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.1304, allocations: 4.125 kB / 0.5614 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.1304, allocations: 11.44 kB / 0.5615 GB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1304, allocations: 0 / 0.5615 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.152, allocations: 1.855 MB / 0.5633 GB, free: 13.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.004, allocations: 11.94 kB / 0.5633 GB, free: 13.16 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.16526103601791] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.07146687200293 8.097958419 7.966790998 Calling exit ...