Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.00175/0.00175, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.002021/0.002021, allocations: 211.7 kB / 23.78 MB, free: 4.434 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.443/1.443, allocations: 230.5 MB / 257.5 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.2247/0.2247, allocations: 46.95 MB / 360.9 MB, free: 3.848 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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 87.84 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3038, allocations: 66.09 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001783/0.3055, allocations: 0.4899 MB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3076, allocations: 1.35 MB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.3077, allocations: 4 kB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.3077, allocations: 0 / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.3077, allocations: 7.938 kB / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3087, allocations: 209.5 kB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.3088, allocations: 11.98 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.3089, allocations: 7.938 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.3089, allocations: 0 / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.309, allocations: 4 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.309, allocations: 0 / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.3096, allocations: 259.6 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3096, allocations: 0 / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.3096, allocations: 11.92 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.3099, allocations: 145.5 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3099, allocations: 0 / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3099, allocations: 0 / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3099, allocations: 4 kB / 0.5632 GB, free: 1.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004972/0.3104, allocations: 258.2 kB / 0.5634 GB, free: 1.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3104, allocations: 8.031 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.3105, allocations: 34.75 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3105, allocations: 4.875 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3107, allocations: 114.5 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3107, allocations: 384 / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3107, allocations: 4.375 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3108, allocations: 59.53 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3108, allocations: 0 / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.3108, allocations: 0 / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3109, allocations: 0 / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.3109, allocations: 7.938 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.3111, allocations: 124.8 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.3111, allocations: 18.52 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.3112, allocations: 4.859 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3112, allocations: 4.062 kB / 0.5638 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3112, allocations: 38.5 kB / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3112, allocations: 0 / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.3114, allocations: 37.7 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3114, allocations: 59.33 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3115, allocations: 93.86 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3115, allocations: 25.7 kB / 0.5641 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.3116, allocations: 80.14 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3116, allocations: 7.891 kB / 0.5641 GB, free: 332 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.3116, allocations: 17.72 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3118, allocations: 311.1 kB / 0.5645 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.3118, allocations: 8 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.3118, allocations: 7.984 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.3119, allocations: 8.859 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3119, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.038e-05/0.3119, allocations: 37.64 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.312, allocations: 8 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.312, allocations: 3.938 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.312, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.312, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3121, allocations: 4.094 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.3121, allocations: 4 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3121, allocations: 3.984 kB / 0.5645 GB, free: 15.89 MB / 414.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 (1): * Single equations (assignments): 1 * 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.56e-05/0.3122, allocations: 105.8 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3122, allocations: 7.938 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3123, allocations: 40.86 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3123, allocations: 3.984 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3123, allocations: 4.031 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3123, allocations: 0 / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3124, allocations: 116.8 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3124, allocations: 0 / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.3124, allocations: 3.938 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3124, allocations: 3.938 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.3124, allocations: 0 / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3124, allocations: 3.938 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3125, allocations: 4 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.3125, allocations: 61.12 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.3125, allocations: 11.97 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.3126, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3126, allocations: 7.984 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.3126, allocations: 3.984 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3126, allocations: 4 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.3127, allocations: 79.28 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3127, allocations: 0 / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3129, allocations: 39.94 kB / 0.565 GB, free: 15.32 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.0005262/0.3135, allocations: 0.6359 MB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.3135, allocations: 7.984 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3135, allocations: 0 / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.3136, allocations: 33.64 kB / 0.5657 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.0001436/0.3137, allocations: 8 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3141, allocations: 118.6 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.3141, allocations: 59.3 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.3141, allocations: 0 / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3141, allocations: 20.61 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3141, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3411, allocations: 2.443 MB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.99, allocations: 7.859 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_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_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.943201152957045] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.098586391017307 11.120644702 10.806563776 Calling exit ...