Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001558/0.001558, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001648/0.001648, allocations: 221 kB / 22.92 MB, free: 5.531 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.307/1.307, allocations: 230.2 MB / 256.2 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] 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.2037/0.2037, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.0021/0.0021, allocations: 80.09 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2563, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001432/0.2577, allocations: 0.5181 MB / 0.5589 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.2581, allocations: 167.4 kB / 0.5591 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.2581, allocations: 0 / 0.5591 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.2581, allocations: 3.938 kB / 0.5591 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.2583, allocations: 39.81 kB / 0.5591 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.2583, allocations: 3.938 kB / 0.5591 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.2584, allocations: 23.92 kB / 0.5591 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.2584, allocations: 0 / 0.5591 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.2584, allocations: 11.94 kB / 0.5592 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.2585, allocations: 11.92 kB / 0.5592 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2585, allocations: 4 kB / 0.5592 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2586, allocations: 59.92 kB / 0.5592 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.2586, allocations: 4 kB / 0.5592 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.2586, allocations: 11.81 kB / 0.5592 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2587, allocations: 45.64 kB / 0.5593 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2587, allocations: 0 / 0.5593 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2587, allocations: 0 / 0.5593 GB, free: 4.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2588, allocations: 0 / 0.5593 GB, free: 4.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003283/0.2591, allocations: 343.3 kB / 0.5596 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2591, allocations: 8.031 kB / 0.5596 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2591, allocations: 38.73 kB / 0.5597 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.2592, allocations: 8.938 kB / 0.5597 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2593, allocations: 164.4 kB / 0.5598 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2593, allocations: 384 / 0.5598 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2593, allocations: 4.375 kB / 0.5598 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2594, allocations: 62.17 kB / 0.5599 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2594, allocations: 7.922 kB / 0.5599 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2594, allocations: 4 kB / 0.5599 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2595, allocations: 0 / 0.5599 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.2595, allocations: 51.95 kB / 0.5599 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.2597, allocations: 177.6 kB / 0.5601 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2599, allocations: 78.58 kB / 0.5602 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.2599, allocations: 28.84 kB / 0.5602 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/0.2602, allocations: 251.3 kB / 0.5605 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2603, allocations: 30.56 kB / 0.5605 GB, free: 2.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.093e-06/0.2603, allocations: 4 kB / 0.5605 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002286/0.2605, allocations: 113.7 kB / 0.5606 GB, free: 2.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2605, allocations: 51.41 kB / 0.5606 GB, free: 2.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.2606, allocations: 97.84 kB / 0.5607 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2606, allocations: 25.7 kB / 0.5608 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.2607, allocations: 80.14 kB / 0.5608 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2607, allocations: 31.7 kB / 0.5609 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.2607, allocations: 29.7 kB / 0.5609 GB, free: 2.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2609, allocations: 315 kB / 0.5612 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.2609, allocations: 27.86 kB / 0.5612 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.2609, allocations: 16 kB / 0.5612 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.261, allocations: 48.84 kB / 0.5613 GB, free: 1.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.261, allocations: 4 kB / 0.5613 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000128/0.2611, allocations: 85.58 kB / 0.5614 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2612, allocations: 7.938 kB / 0.5614 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2612, allocations: 0.6562 kB / 0.5614 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2612, allocations: 4 kB / 0.5614 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.2613, allocations: 19.98 kB / 0.5614 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2613, allocations: 0 / 0.5614 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.2613, allocations: 0 / 0.5614 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2613, allocations: 11.94 kB / 0.5614 GB, free: 1.844 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 (10): * Single equations (assignments): 10 * 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 7.174e-05/0.2614, allocations: 105.8 kB / 0.5615 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.2614, allocations: 15.83 kB / 0.5615 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.2616, allocations: 97.58 kB / 0.5616 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2616, allocations: 4 kB / 0.5616 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2616, allocations: 7.984 kB / 0.5616 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2616, allocations: 0 / 0.5616 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2617, allocations: 173.6 kB / 0.5618 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2617, allocations: 0 / 0.5618 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.2618, allocations: 15.98 kB / 0.5618 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2618, allocations: 3.938 kB / 0.5618 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2618, allocations: 8 kB / 0.5618 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2618, allocations: 0 / 0.5618 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2618, allocations: 4 kB / 0.5618 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.262, allocations: 117 kB / 0.5619 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.262, allocations: 77.11 kB / 0.562 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.262, allocations: 7.938 kB / 0.562 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.262, allocations: 0 / 0.562 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.2621, allocations: 4 kB / 0.562 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.2621, allocations: 7.984 kB / 0.562 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.2621, allocations: 75.28 kB / 0.5621 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2621, allocations: 0 / 0.5621 GB, free: 1.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.2623, allocations: 16 kB / 0.5621 GB, free: 1.012 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 (10): * Single equations (assignments): 10 * 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.0004618/0.2627, allocations: 0.671 MB / 0.5628 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2629, allocations: 51.92 kB / 0.5628 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2629, allocations: 0 / 0.5628 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.2629, allocations: 23.98 kB / 0.5629 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.263, allocations: 8 kB / 0.5629 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.2634, allocations: 178.6 kB / 0.563 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2638, allocations: 0.6807 MB / 0.5637 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.2638, allocations: 7.781 kB / 0.5637 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2638, allocations: 11.44 kB / 0.5637 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2638, allocations: 0 / 0.5637 GB, free: 15.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.2847, allocations: 1.547 MB / 0.5652 GB, free: 13.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/7.082, allocations: 17.47 kB / 0.5652 GB, free: 13.8 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.627626882996992]