Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, 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.2226/0.2226, 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.00228/0.00228, allocations: 78.39 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002281/0.1303, allocations: 0.4919 MB / 480.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.1307, allocations: 98.36 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1308, allocations: 4 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1308, allocations: 3.938 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.1308, allocations: 0 / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1311, allocations: 19.91 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.1312, allocations: 8 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.1312, allocations: 7.984 kB / 480.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.1313, allocations: 4 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.1314, allocations: 7.938 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1314, allocations: 0 / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1315, allocations: 35.95 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1315, allocations: 4 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.1316, allocations: 7.938 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1317, allocations: 31.89 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1317, allocations: 3.938 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1317, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1317, allocations: 0 / 480.9 MB, free: 4.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005131/0.1323, allocations: 331.6 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1323, allocations: 8.031 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1324, allocations: 30.75 kB / 481.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1324, allocations: 0.9375 kB / 481.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1326, allocations: 168.7 kB / 481.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1326, allocations: 384 / 481.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1326, allocations: 4.375 kB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1328, allocations: 55.91 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1328, allocations: 7.938 kB / 481.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1328, allocations: 4 kB / 481.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1328, allocations: 0 / 481.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.1329, allocations: 8 kB / 481.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1333, allocations: 332.9 kB / 481.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.1334, allocations: 26.52 kB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.1334, allocations: 16.86 kB / 481.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1334, allocations: 0 / 481.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1335, allocations: 34.56 kB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1335, allocations: 0 / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.1337, allocations: 61.7 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1337, allocations: 55.39 kB / 482.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.1339, allocations: 93.86 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1339, allocations: 29.83 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.1339, allocations: 84.14 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.134, allocations: 7.812 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.134, allocations: 21.7 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1342, allocations: 314.8 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.1342, allocations: 8 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.1342, allocations: 17.7 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.013e-05/0.1343, allocations: 37.66 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.1343, allocations: 3.938 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.378e-05/0.1344, allocations: 53.62 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1344, allocations: 4 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1344, allocations: 0 / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1344, allocations: 4 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1345, allocations: 7.938 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1345, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.1346, allocations: 11.91 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1346, allocations: 8.016 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 0.0001018/0.1347, allocations: 121.7 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1347, allocations: 0 / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.1349, allocations: 65.31 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1349, allocations: 0 / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1349, allocations: 0 / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1349, allocations: 0 / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1351, allocations: 157.6 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1351, allocations: 4 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.1351, allocations: 11.94 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1352, allocations: 3.984 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1352, allocations: 4 kB / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1352, allocations: 0 / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1352, allocations: 0 / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1353, allocations: 151.5 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.1354, allocations: 81.02 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1354, allocations: 4 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.1355, allocations: 4 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1355, allocations: 0 / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1355, allocations: 4 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.1355, allocations: 83.27 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1356, allocations: 0 / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1358, allocations: 4 kB / 483.4 MB, free: 1.535 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 (5): * Single equations (assignments): 5 * 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.0004816/0.1363, allocations: 0.6929 MB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1364, allocations: 27.92 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1364, allocations: 0 / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.1364, allocations: 12 kB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1367, allocations: 14.16 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1371, allocations: 138.8 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1374, allocations: 0.6807 MB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.1375, allocations: 8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1375, allocations: 15.42 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1375, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.161, allocations: 1.275 MB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/7.975, allocations: 12.81 kB / 486.3 MB, free: 14.7 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)