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.001795/0.001795, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002225/0.002225, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2202/0.2202, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.002676/0.002676, allocations: 75.88 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3553, allocations: 66.09 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001635/0.3569, allocations: 489.8 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3589, allocations: 1.354 MB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3589, allocations: 0 / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.3589, allocations: 0 / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.3589, allocations: 0 / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.3597, allocations: 219.2 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.3597, allocations: 15.98 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.3598, allocations: 0 / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.3598, allocations: 7.875 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.3598, allocations: 11.97 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3598, allocations: 0 / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.3603, allocations: 259.6 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.3603, allocations: 4 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.3603, allocations: 0 / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3606, allocations: 145.4 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3606, allocations: 8 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3606, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3606, allocations: 0 / 0.5631 GB, free: 1.543 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.0003558/0.3609, allocations: 254.3 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.361, allocations: 12.02 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.361, allocations: 34.75 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.361, allocations: 8.891 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.3611, allocations: 102.5 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3611, allocations: 384 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3612, allocations: 4.375 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3613, allocations: 75.45 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3613, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3613, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3613, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.3613, allocations: 8 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3617, allocations: 223.9 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.3617, allocations: 14.58 kB / 0.5638 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.3618, allocations: 4.859 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.3618, allocations: 4.062 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3618, allocations: 34.5 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3618, allocations: 4 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.3619, allocations: 37.7 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.362, allocations: 51.41 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.3621, allocations: 97.84 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3621, allocations: 25.7 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.3621, allocations: 84.09 kB / 0.5641 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3621, allocations: 7.953 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.3622, allocations: 13.72 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3623, allocations: 318.7 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.3623, allocations: 8.234 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.3624, allocations: 30.52 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3624, allocations: 18.58 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3624, allocations: 4 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.47e-05/0.3625, allocations: 49.62 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3625, allocations: 4 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3625, allocations: 3.938 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3625, allocations: 4 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.3626, allocations: 12.03 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3626, allocations: 0 / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.3626, allocations: 0 / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3626, allocations: 4 kB / 0.5646 GB, free: 15.8 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.319e-05/0.3627, allocations: 117.8 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.3627, allocations: 4 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.3628, allocations: 40.94 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3628, allocations: 4.031 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3628, allocations: 0 / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3628, allocations: 3.984 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.363, allocations: 124.7 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.363, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.363, allocations: 3.938 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.363, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.363, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.363, allocations: 4 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.363, allocations: 0 / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3631, allocations: 135.5 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.3631, allocations: 11.98 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3631, allocations: 4 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.3632, allocations: 4 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3632, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3632, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.3632, allocations: 83.27 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3632, allocations: 0 / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3635, allocations: 35.94 kB / 0.5651 GB, free: 15.16 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.000562/0.3641, allocations: 0.7201 MB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.3641, allocations: 11.98 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3641, allocations: 0 / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.3642, allocations: 29.64 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.0001999/0.3644, allocations: 10.19 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.000369/0.3648, allocations: 118.6 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.3648, allocations: 55.36 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.3648, allocations: 8.25 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.3649, allocations: 15.42 kB / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3649, allocations: 0 / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3915, allocations: 2.361 MB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.35, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB " [Timeout remaining time 649] (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.298357606399804] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.45763602713123 11.473516738 11.10982565 Calling exit ...