Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001232/0.001232, allocations: 115.1 kB / 20.44 MB, free: 1.172 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.001364/0.001364, allocations: 204.3 kB / 23.72 MB, free: 4.383 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 75.88 kB / 0.4961 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3378, allocations: 66.09 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001751/0.3396, allocations: 493.8 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3415, allocations: 1.354 MB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.3416, allocations: 0 / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.3416, allocations: 0 / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.3416, allocations: 0 / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.3423, allocations: 223.4 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.3424, allocations: 4 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.3424, allocations: 0 / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.3424, allocations: 4 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.3425, allocations: 23.91 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3425, allocations: 0 / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.3429, allocations: 271.6 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.343, allocations: 4 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.343, allocations: 4 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3432, allocations: 141.5 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3432, allocations: 3.938 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.3432, allocations: 0 / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3432, allocations: 0 / 0.5631 GB, free: 1.547 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.0003639/0.3436, allocations: 258.3 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3436, allocations: 16.03 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.3437, allocations: 34.75 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.3437, allocations: 4.891 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.3438, allocations: 110.5 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-06/0.3438, allocations: 384 / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3438, allocations: 4.312 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3439, allocations: 75.45 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3439, allocations: 0 / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.344, allocations: 0 / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.344, allocations: 0 / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.344, allocations: 4 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3443, allocations: 223.9 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.3444, allocations: 18.58 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.3444, allocations: 4.859 kB / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.3444, allocations: 3.938 kB / 0.5638 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3445, allocations: 34.62 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3445, allocations: 0 / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.3446, allocations: 29.7 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3446, allocations: 55.39 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.3447, allocations: 98.08 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3448, allocations: 29.73 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.3448, allocations: 88.09 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-06/0.3448, allocations: 3.953 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.3449, allocations: 17.72 kB / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.345, allocations: 318.8 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.345, allocations: 0 / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.3451, allocations: 26.52 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.3451, allocations: 22.58 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3451, allocations: 4 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.829e-05/0.3452, allocations: 49.62 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3452, allocations: 8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3452, allocations: 3.938 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.3452, allocations: 0 / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.3453, allocations: 7.938 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3453, allocations: 7.984 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.3453, allocations: 0 / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3453, allocations: 7.984 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.928e-05/0.3454, allocations: 117.9 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3454, allocations: 0 / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.3455, allocations: 44.92 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3455, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3456, allocations: 4 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3456, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3457, allocations: 124.6 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3457, allocations: 4 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.3457, allocations: 8.031 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3457, allocations: 0 / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3457, allocations: 3.938 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3457, allocations: 0 / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3457, allocations: 3.984 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3458, allocations: 127.5 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.3459, allocations: 12 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3459, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.3459, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.3459, allocations: 3.984 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3459, allocations: 4.031 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.346, allocations: 79.28 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.346, allocations: 0 / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3463, allocations: 39.94 kB / 0.5652 GB, free: 15.15 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000578/0.3468, allocations: 0.7084 MB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.3469, allocations: 15.92 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3469, allocations: 0 / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.347, allocations: 30.02 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.3472, allocations: 8.062 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3476, allocations: 130.5 kB / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.3476, allocations: 55.36 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.3477, allocations: 3.984 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.3477, allocations: 11.44 kB / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3477, allocations: 0 / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3763, allocations: 2.384 MB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.48, allocations: 10.42 kB / 0.5684 GB, free: 11.8 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.46066383307334] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.589568450930528 11.614448548 11.267546804 Calling exit ...