Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001589/0.001589, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.002632/0.002632, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.444/1.444, allocations: 230.2 MB / 256.8 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.89 MB / 360 MB, free: 4.742 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-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.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002231/0.002231, allocations: 83.84 kB / 0.4951 GB, free: 8.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3154, allocations: 65.99 MB / 0.5595 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001637/0.3171, allocations: 0.4993 MB / 0.56 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.3174, allocations: 107.7 kB / 0.5601 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.3174, allocations: 0 / 0.5601 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.3174, allocations: 3.938 kB / 0.5601 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3176, allocations: 11.98 kB / 0.5601 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.796e-05/0.3176, allocations: 3.938 kB / 0.5601 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.562e-05/0.3177, allocations: 4 kB / 0.5601 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.3177, allocations: 3.984 kB / 0.5601 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.3177, allocations: 4 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.3178, allocations: 7.938 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3178, allocations: 3.984 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.3179, allocations: 23.98 kB / 0.5602 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.3179, allocations: 0 / 0.5602 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.3179, allocations: 0 / 0.5602 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.313e-05/0.318, allocations: 25.73 kB / 0.5602 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.318, allocations: 0 / 0.5602 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.318, allocations: 0 / 0.5602 GB, free: 4.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.318, allocations: 0 / 0.5602 GB, free: 4.336 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003494/0.3183, allocations: 323.5 kB / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3184, allocations: 8.031 kB / 0.5605 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3184, allocations: 38.69 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.3184, allocations: 4.938 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3186, allocations: 164.4 kB / 0.5607 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3186, allocations: 384 / 0.5607 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3186, allocations: 384 / 0.5607 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.3187, allocations: 34.25 kB / 0.5607 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3187, allocations: 3.938 kB / 0.5607 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3187, allocations: 4 kB / 0.5607 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3187, allocations: 0 / 0.5607 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.3187, allocations: 8 kB / 0.5608 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3189, allocations: 157.6 kB / 0.5609 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3191, allocations: 38.55 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.3191, allocations: 16.86 kB / 0.561 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.3195, allocations: 117.1 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3195, allocations: 34.56 kB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3195, allocations: 0 / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00115/0.3206, allocations: 193.3 kB / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3207, allocations: 51.41 kB / 0.5613 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.3207, allocations: 97.86 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3208, allocations: 25.7 kB / 0.5615 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.3208, allocations: 80.14 kB / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3208, allocations: 15.89 kB / 0.5615 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3209, allocations: 17.72 kB / 0.5616 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.321, allocations: 314.8 kB / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.3211, allocations: 19.97 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.3212, allocations: 24.11 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3213, allocations: 48.77 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3213, allocations: 0 / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001965/0.3215, allocations: 77.59 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3215, allocations: 10.5 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3215, allocations: 0 / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3215, allocations: 0 / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3217, allocations: 19.98 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3217, allocations: 0 / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.3217, allocations: 8 kB / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3217, allocations: 3.984 kB / 0.5621 GB, free: 2.164 MB / 398.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 (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 8.259e-05/0.3218, allocations: 117.8 kB / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3218, allocations: 8.172 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3221, allocations: 93.14 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3221, allocations: 4.297 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3221, allocations: 0 / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3221, allocations: 4 kB / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.3228, allocations: 355.3 kB / 0.5626 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3228, allocations: 0 / 0.5626 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.3229, allocations: 19.98 kB / 0.5626 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3229, allocations: 0 / 0.5626 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3229, allocations: 0 / 0.5626 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3229, allocations: 4 kB / 0.5626 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3229, allocations: 0 / 0.5626 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3232, allocations: 180.3 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.3232, allocations: 93.05 kB / 0.5629 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3232, allocations: 3.938 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.3233, allocations: 4 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.3233, allocations: 3.984 kB / 0.5629 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3233, allocations: 4 kB / 0.5629 GB, free: 1.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.3234, allocations: 79.22 kB / 0.563 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3234, allocations: 4.094 kB / 0.563 GB, free: 1.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3236, allocations: 12 kB / 0.563 GB, free: 1.082 MB / 398.1 MB 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 () * 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.0005686/0.3242, allocations: 0.7093 MB / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3244, allocations: 43.95 kB / 0.5637 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3244, allocations: 0 / 0.5637 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.3244, allocations: 31.91 kB / 0.5638 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.3247, allocations: 4 kB / 0.5638 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.3252, allocations: 163.5 kB / 0.5639 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3255, allocations: 0.6807 MB / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.3255, allocations: 4 kB / 0.5646 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.3256, allocations: 15.44 kB / 0.5646 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3256, allocations: 4 kB / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3469, allocations: 1.464 MB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.186, allocations: 11.88 kB / 0.5661 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.06861835392192] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 8.254510098020546 8.285087798 7.961351701 Calling exit ...