Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001683/0.001683, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002183/0.002183, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2198/0.2198, allocations: 46.94 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 79.86 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2996, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001592/0.3012, allocations: 0.4915 MB / 0.562 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3031, allocations: 1.416 MB / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.3031, allocations: 0 / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.3031, allocations: 0 / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.3031, allocations: 0 / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.3038, allocations: 219.4 kB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.3038, allocations: 4 kB / 0.5636 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.3039, allocations: 4 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.3039, allocations: 7.984 kB / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.3039, allocations: 0 / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.304, allocations: 4 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.3044, allocations: 279.6 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.3044, allocations: 7.922 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.3044, allocations: 0 / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3046, allocations: 149.6 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3046, allocations: 0 / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3046, allocations: 0 / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3046, allocations: 0 / 0.564 GB, free: 1.746 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.0003529/0.305, allocations: 258.2 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.305, allocations: 8.031 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.3051, allocations: 38.75 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.3051, allocations: 4.938 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3052, allocations: 106.5 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3052, allocations: 384 / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3052, allocations: 8.25 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.3053, allocations: 37.81 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3053, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.3053, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3053, allocations: 7.938 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.3054, allocations: 7.984 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.3055, allocations: 120.8 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/0.3056, allocations: 18.56 kB / 0.5646 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.3056, allocations: 12.89 kB / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3056, allocations: 0 / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3056, allocations: 34.5 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3056, allocations: 0 / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.3057, allocations: 41.7 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3058, allocations: 51.41 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.3059, allocations: 97.84 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3059, allocations: 25.7 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.3059, allocations: 80.14 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3059, allocations: 3.953 kB / 0.5649 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.306, allocations: 17.72 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3061, allocations: 315.1 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.3061, allocations: 3.938 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-06/0.3061, allocations: 0 / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.3061, allocations: 8.859 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3061, allocations: 0 / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.307e-05/0.3062, allocations: 45.62 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3062, allocations: 6.344 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3062, allocations: 0 / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3062, allocations: 8.094 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.3063, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3063, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.3063, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3063, allocations: 4 kB / 0.5653 GB, free: 216 kB / 398.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.962e-05/0.3064, allocations: 110.7 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3064, allocations: 7.922 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3065, allocations: 48.86 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3065, allocations: 0 / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3065, allocations: 3.938 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3065, allocations: 4 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3067, allocations: 116.8 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3067, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.3067, allocations: 7.938 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.3067, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.3067, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3067, allocations: 4.031 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3067, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.3068, allocations: 65.06 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.3068, allocations: 11.88 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.3068, allocations: 4 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.3069, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.3069, allocations: 3.984 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3069, allocations: 8.031 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.3069, allocations: 75.28 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 0 / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3072, allocations: 43.94 kB / 0.5658 GB, free: 15.62 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.000574/0.3077, allocations: 0.632 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.3078, allocations: 7.984 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3078, allocations: 0 / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.3078, allocations: 29.7 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.308, allocations: 8 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3083, allocations: 114.6 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3086, allocations: 0.669 MB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.3086, allocations: 8.125 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.3086, allocations: 7.438 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3086, allocations: 0 / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3314, allocations: 1.861 MB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.2, allocations: 7.359 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.036317145917565] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.269292493816465 8.293834854 7.985583999 Calling exit ...