Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.96 MB / 361.7 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3183, allocations: 66.02 MB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001707/0.32, allocations: 0.4984 MB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003096/0.3203, allocations: 95.73 kB / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.3203, allocations: 0 / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.3203, allocations: 0 / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.138e-05/0.3204, allocations: 7.938 kB / 0.5619 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3205, allocations: 7.984 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.3206, allocations: 19.97 kB / 0.562 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3206, allocations: 0 / 0.562 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.3207, allocations: 11.92 kB / 0.562 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.3207, allocations: 4 kB / 0.562 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3207, allocations: 4 kB / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.3208, allocations: 27.97 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3208, allocations: 4 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3208, allocations: 11.86 kB / 0.562 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.3209, allocations: 21.8 kB / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3209, allocations: 7.984 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3209, allocations: 3.938 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.321, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.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.0003879/0.3213, allocations: 258.3 kB / 0.5623 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3214, allocations: 8.031 kB / 0.5623 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.228e-05/0.3214, allocations: 8.125 kB / 0.5623 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.3214, allocations: 34.75 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.3215, allocations: 0.9375 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3216, allocations: 106.5 kB / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.3216, allocations: 4.375 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3216, allocations: 4.375 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3217, allocations: 59.66 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3217, allocations: 0 / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3217, allocations: 4 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3217, allocations: 0 / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.3218, allocations: 11.98 kB / 0.5625 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3221, allocations: 296.2 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.3222, allocations: 26.52 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.3222, allocations: 8.859 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3222, allocations: 11.98 kB / 0.5628 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3223, allocations: 38.64 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3223, allocations: 0 / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000188/0.3225, allocations: 53.64 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3225, allocations: 51.41 kB / 0.563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.3226, allocations: 101.8 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3226, allocations: 25.7 kB / 0.5631 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.3227, allocations: 80.14 kB / 0.5632 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.3227, allocations: 15.84 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3227, allocations: 21.7 kB / 0.5632 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3228, allocations: 319 kB / 0.5635 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.3229, allocations: 4 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.3229, allocations: 25.7 kB / 0.5636 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.306e-05/0.323, allocations: 25.66 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.323, allocations: 4 kB / 0.5636 GB, free: 1.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.774e-05/0.3231, allocations: 61.69 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3231, allocations: 4 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3231, allocations: 4 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3231, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.3232, allocations: 12.03 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3232, allocations: 3.984 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.3232, allocations: 7.953 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3232, allocations: 0 / 0.5637 GB, free: 1.629 MB / 398.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 9.174e-05/0.3233, allocations: 121.7 kB / 0.5638 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3233, allocations: 4 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3235, allocations: 57.38 kB / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3235, allocations: 0 / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3235, allocations: 0 / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3235, allocations: 3.938 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3236, allocations: 136.7 kB / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3236, allocations: 0 / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.3237, allocations: 8 kB / 0.564 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3237, allocations: 4 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3237, allocations: 0 / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3237, allocations: 3.938 kB / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3237, allocations: 0 / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.3238, allocations: 151.5 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.3238, allocations: 11.88 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3239, allocations: 0 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.3239, allocations: 4 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3239, allocations: 8 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.3239, allocations: 128 / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.324, allocations: 79.28 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000222/0.3242, allocations: 4 kB / 0.5642 GB, free: 0.9609 MB / 398.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.0004764/0.3247, allocations: 0.6929 MB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3248, allocations: 16 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3248, allocations: 4 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.3248, allocations: 19.92 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.325, allocations: 10.75 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3255, allocations: 138.6 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.3255, allocations: 67.33 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.3256, allocations: 0 / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3256, allocations: 15.44 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3256, allocations: 0 / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.3467, allocations: 1.481 MB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.36, allocations: 5.594 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.266348118078895] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 11.522254076902755 11.540000911 11.215636455 Calling exit ...