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.001612/0.001612, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00182/0.00182, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2199/0.2199, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.002238/0.002238, allocations: 83.86 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3037, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001675/0.3054, allocations: 0.4988 MB / 0.562 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.3057, allocations: 103.7 kB / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.3058, allocations: 7.938 kB / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.3058, allocations: 0 / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.306, allocations: 15.91 kB / 0.5621 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.035e-05/0.306, allocations: 4 kB / 0.5621 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.3061, allocations: 7.938 kB / 0.5621 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.3062, allocations: 7.984 kB / 0.5621 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.3062, allocations: 0 / 0.5621 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.3062, allocations: 4 kB / 0.5621 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3063, allocations: 0 / 0.5621 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.3063, allocations: 15.98 kB / 0.5621 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.3064, allocations: 4 kB / 0.5621 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3064, allocations: 15.92 kB / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.472e-05/0.3065, allocations: 17.88 kB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3065, allocations: 4 kB / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3065, allocations: 0 / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3065, allocations: 0 / 0.5622 GB, free: 3.625 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.000395/0.3069, allocations: 246.4 kB / 0.5624 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3069, allocations: 12.03 kB / 0.5624 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.307, allocations: 34.69 kB / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.307, allocations: 0.9375 kB / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3071, allocations: 106.5 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.3071, allocations: 8.375 kB / 0.5626 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.3072, allocations: 384 / 0.5626 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3073, allocations: 34.25 kB / 0.5626 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3073, allocations: 3.938 kB / 0.5626 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3073, allocations: 0 / 0.5626 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3073, allocations: 0 / 0.5626 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.3074, allocations: 15.92 kB / 0.5626 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.3076, allocations: 132.6 kB / 0.5627 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3078, allocations: 38.61 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.3078, allocations: 12.86 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/0.3081, allocations: 32.05 kB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3082, allocations: 42.55 kB / 0.5629 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3082, allocations: 0 / 0.5629 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001288/0.3095, allocations: 185.3 kB / 0.563 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3095, allocations: 51.41 kB / 0.5631 GB, free: 2.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.3096, allocations: 97.86 kB / 0.5632 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3096, allocations: 25.7 kB / 0.5632 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.3097, allocations: 80.14 kB / 0.5633 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3097, allocations: 11.91 kB / 0.5633 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.3097, allocations: 25.64 kB / 0.5633 GB, free: 2.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3099, allocations: 314.8 kB / 0.5636 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.31, allocations: 15.98 kB / 0.5636 GB, free: 1.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.31, allocations: 24.09 kB / 0.5637 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3102, allocations: 48.83 kB / 0.5637 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3102, allocations: 0 / 0.5637 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.3104, allocations: 77.61 kB / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3104, allocations: 4 kB / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3104, allocations: 0 / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3104, allocations: 256 / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3106, allocations: 23.92 kB / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3106, allocations: 4 kB / 0.5638 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.3107, allocations: 7.984 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3107, allocations: 0 / 0.5638 GB, free: 1.746 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 0.0001116/0.3108, allocations: 118.7 kB / 0.5639 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.3108, allocations: 7.891 kB / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3111, allocations: 93.17 kB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3111, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3111, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3111, allocations: 4 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.3118, allocations: 330.3 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3118, allocations: 0 / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.3119, allocations: 19.92 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3119, allocations: 0 / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3119, allocations: 8 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3119, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3119, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3121, allocations: 176.3 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.3121, allocations: 11.95 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3121, allocations: 0 / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.3122, allocations: 11.92 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.3123, allocations: 0 / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3123, allocations: 4 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.3123, allocations: 79.27 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3123, allocations: 0 / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3125, allocations: 20.03 kB / 0.5647 GB, free: 0.7891 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.0005865/0.3131, allocations: 0.7056 MB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3133, allocations: 51.95 kB / 0.5654 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3133, allocations: 0 / 0.5654 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.3134, allocations: 24.31 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.3136, allocations: 4 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.3142, allocations: 167.3 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3145, allocations: 0.6807 MB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.3146, allocations: 3.984 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.3146, allocations: 15.53 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3146, allocations: 4 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3363, allocations: 1.502 MB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.022, allocations: 11.86 kB / 0.5678 GB, free: 13.59 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: 10.924137795343995] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 8.092209421098232 8.11746072 7.806384929 Calling exit ...