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.001815/0.001815, allocations: 109 kB / 21.1 MB, free: 0.7891 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.002059/0.002059, allocations: 206 kB / 24.38 MB, free: 4.203 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.437/1.437, allocations: 230.2 MB / 257.7 MB, free: 8.301 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.22/0.22, allocations: 46.88 MB / 361 MB, free: 4.512 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.002215/0.002215, allocations: 79.86 kB / 0.4962 GB, free: 8.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3112, allocations: 66.03 MB / 0.5606 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001527/0.3127, allocations: 0.4955 MB / 0.5611 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3145, allocations: 1.405 MB / 0.5625 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.3145, allocations: 0 / 0.5625 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.3145, allocations: 3.938 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.43e-05/0.3146, allocations: 4 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.3152, allocations: 214.9 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.3153, allocations: 7.938 kB / 0.5627 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3153, allocations: 7.938 kB / 0.5627 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.3153, allocations: 7.984 kB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3154, allocations: 0 / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.3154, allocations: 0 / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3158, allocations: 279.6 kB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.3158, allocations: 0 / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.3158, allocations: 3.938 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3161, allocations: 153.5 kB / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3161, allocations: 0 / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3161, allocations: 0 / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3161, allocations: 0 / 0.5631 GB, free: 2.145 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.0003832/0.3165, allocations: 335.4 kB / 0.5635 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3165, allocations: 8.031 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3165, allocations: 34.69 kB / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.3166, allocations: 8.891 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3167, allocations: 160.4 kB / 0.5637 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3167, allocations: 4.375 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.3167, allocations: 384 / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3168, allocations: 45.81 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3168, allocations: 3.938 kB / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3168, allocations: 0 / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3168, allocations: 0 / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.3168, allocations: 7.984 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3172, allocations: 248.8 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.3172, allocations: 18.58 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.3173, allocations: 20.94 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.3173, allocations: 0 / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3173, allocations: 30.56 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.3173, allocations: 0 / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.3174, allocations: 41.64 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.3175, allocations: 51.41 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3176, allocations: 102 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3176, allocations: 25.7 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.3176, allocations: 84.09 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.3176, allocations: 7.953 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3177, allocations: 13.72 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3178, allocations: 314.8 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.3178, allocations: 4 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.3179, allocations: 30.69 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.3179, allocations: 22.52 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3179, allocations: 0 / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.612e-05/0.318, allocations: 49.62 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.318, allocations: 12.03 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.318, allocations: 4 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.318, allocations: 0 / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.318, allocations: 4 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.318, allocations: 4 kB / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.3181, allocations: 0 / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3181, allocations: 0 / 0.5648 GB, free: 240 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 8.235e-05/0.3182, allocations: 117.8 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3182, allocations: 3.984 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3183, allocations: 44.8 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3183, allocations: 0 / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3183, allocations: 0 / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3183, allocations: 0 / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3185, allocations: 161.5 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3185, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3185, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3185, allocations: 4 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.3185, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3185, allocations: 4.031 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3185, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.3186, allocations: 139.4 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3186, allocations: 77.11 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.3186, allocations: 0 / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.3187, allocations: 8 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.3187, allocations: 0 / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.3187, allocations: 4.031 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.3188, allocations: 79.27 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3188, allocations: 4 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.319, allocations: 35.94 kB / 0.5654 GB, free: 15.46 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.0005654/0.3196, allocations: 0.7085 MB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.3197, allocations: 15.92 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3197, allocations: 0 / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.3197, allocations: 29.7 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3199, allocations: 5.969 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.3203, allocations: 134.5 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3206, allocations: 0.669 MB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.3206, allocations: 8.25 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.3206, allocations: 7.531 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3206, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.3437, allocations: 1.867 MB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.114, allocations: 2.969 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 652] (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: 11.05174384615384] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 8.185084416065365 8.213346849 7.892169234 Calling exit ...