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.001578/0.001578, allocations: 114 kB / 20.44 MB, free: 1.469 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.001727/0.001727, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2745/0.2745, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.002296/0.002296, allocations: 83.86 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3034, allocations: 66.09 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001554/0.3049, allocations: 495.5 kB / 0.5612 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3069, allocations: 1.412 MB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3069, allocations: 0 / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.3069, allocations: 0 / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.3069, allocations: 3.938 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.3076, allocations: 223.2 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.044e-05/0.3077, allocations: 4 kB / 0.5628 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3077, allocations: 11.97 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.3077, allocations: 0 / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.3078, allocations: 4 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3078, allocations: 0 / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.3082, allocations: 283.5 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.3083, allocations: 0 / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3083, allocations: 11.98 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3085, allocations: 137.5 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3085, allocations: 0 / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3085, allocations: 0 / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3085, allocations: 0 / 0.5632 GB, free: 1.758 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.00035/0.3089, allocations: 258.3 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3089, allocations: 12.03 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.3089, allocations: 34.75 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.309, allocations: 8.828 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.309, allocations: 118.5 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-06/0.3091, allocations: 384 / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3091, allocations: 384 / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3092, allocations: 33.83 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3092, allocations: 0 / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3092, allocations: 8 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3092, allocations: 0 / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.3092, allocations: 7.984 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3096, allocations: 215.9 kB / 0.5639 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.3096, allocations: 22.52 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.3096, allocations: 12.95 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.3096, allocations: 0 / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3097, allocations: 30.56 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3097, allocations: 4 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.3098, allocations: 33.7 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3098, allocations: 55.34 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.3099, allocations: 101.8 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3099, allocations: 25.7 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.31, allocations: 84.09 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/0.31, allocations: 3.953 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.31, allocations: 21.91 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3102, allocations: 318.8 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.3102, allocations: 4 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.3102, allocations: 22.56 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.3103, allocations: 26.52 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3103, allocations: 4 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.576e-05/0.3103, allocations: 49.62 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3103, allocations: 8 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3104, allocations: 0 / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3104, allocations: 0 / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.3104, allocations: 4 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3104, allocations: 4 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.3104, allocations: 0 / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3104, allocations: 0 / 0.5647 GB, free: 48 kB / 398.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 9.936e-05/0.3105, allocations: 117.9 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3106, allocations: 7.922 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3107, allocations: 48.89 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3107, allocations: 3.984 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3107, allocations: 0 / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3107, allocations: 0 / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3108, allocations: 128.7 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3108, allocations: 4 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-06/0.3108, allocations: 4 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3108, allocations: 0 / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.3109, allocations: 0 / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3109, allocations: 0 / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3109, allocations: 0 / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.311, allocations: 131.5 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.311, allocations: 8.031 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.311, allocations: 0 / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.311, allocations: 4 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.311, allocations: 7.938 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3111, allocations: 0 / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.878e-05/0.3111, allocations: 83.27 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3111, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3114, allocations: 35.94 kB / 0.5652 GB, free: 15.39 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.0005804/0.312, allocations: 0.7124 MB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.495e-05/0.312, allocations: 7.938 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.312, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.3121, allocations: 33.69 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3123, allocations: 8.219 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.3127, allocations: 130.5 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.313, allocations: 0.6729 MB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.984e-05/0.313, allocations: 0 / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.3131, allocations: 7.438 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3131, allocations: 0 / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3396, allocations: 1.966 MB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.16, allocations: 14.22 kB / 0.5687 GB, free: 11.85 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.102230528995278] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.260700359998737 11.276041725 10.96451657 Calling exit ...