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.001364/0.001364, allocations: 121 kB / 18.51 MB, free: 4.555 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.001464/0.001464, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2268/0.2268, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002243/0.002243, allocations: 83.86 kB / 0.4916 GB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1179, allocations: 66.05 MB / 0.5561 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001667/0.1195, allocations: 498.9 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1214, allocations: 1.411 MB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.1214, allocations: 0 / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.1215, allocations: 0 / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.529e-05/0.1215, allocations: 3.938 kB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.1221, allocations: 215.4 kB / 0.5582 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.1222, allocations: 8 kB / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1222, allocations: 7.969 kB / 0.5582 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.1222, allocations: 8 kB / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.1223, allocations: 0 / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1223, allocations: 4 kB / 0.5582 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.1227, allocations: 279.6 kB / 0.5585 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1227, allocations: 3.938 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.1227, allocations: 0 / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.123, allocations: 143.6 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.123, allocations: 0 / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.123, allocations: 4 kB / 0.5586 GB, free: 3.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.123, allocations: 0 / 0.5586 GB, free: 3.016 MB / 414.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.0003789/0.1233, allocations: 339.3 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1234, allocations: 8.031 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.1234, allocations: 30.75 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.1234, allocations: 4.938 kB / 0.559 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1236, allocations: 164.3 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1236, allocations: 384 / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.1236, allocations: 4.312 kB / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.1237, allocations: 45.81 kB / 0.5592 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1237, allocations: 0 / 0.5592 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1237, allocations: 7.938 kB / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1237, allocations: 0 / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.1237, allocations: 4 kB / 0.5592 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1239, allocations: 145.7 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.1239, allocations: 22.61 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.1239, allocations: 12.8 kB / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1239, allocations: 0 / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.124, allocations: 38.56 kB / 0.5594 GB, free: 2.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.124, allocations: 0 / 0.5594 GB, free: 2.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.1241, allocations: 29.7 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1241, allocations: 51.41 kB / 0.5595 GB, free: 1.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.1242, allocations: 101.8 kB / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1242, allocations: 25.95 kB / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1242, allocations: 84.14 kB / 0.5597 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1243, allocations: 11.89 kB / 0.5597 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1243, allocations: 9.719 kB / 0.5597 GB, free: 1.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1244, allocations: 310.8 kB / 0.56 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.1244, allocations: 7.938 kB / 0.56 GB, free: 1.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.1244, allocations: 4 kB / 0.56 GB, free: 1.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.1245, allocations: 12.84 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1245, allocations: 4.062 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.164e-05/0.1245, allocations: 41.62 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1245, allocations: 4 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1245, allocations: 0 / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1246, allocations: 0 / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.1246, allocations: 4 kB / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1246, allocations: 0 / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.1246, allocations: 0 / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1246, allocations: 3.938 kB / 0.5601 GB, free: 1.281 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.115e-05/0.1247, allocations: 113.9 kB / 0.5602 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.1247, allocations: 7.938 kB / 0.5602 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1249, allocations: 44.77 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1249, allocations: 3.984 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1249, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1249, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.125, allocations: 153.7 kB / 0.5604 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.125, allocations: 0 / 0.5604 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.125, allocations: 3.938 kB / 0.5604 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.125, allocations: 0 / 0.5604 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.125, allocations: 3.984 kB / 0.5604 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.125, allocations: 0 / 0.5604 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.125, allocations: 4 kB / 0.5604 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.1251, allocations: 65.02 kB / 0.5605 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1251, allocations: 85.08 kB / 0.5606 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1251, allocations: 0 / 0.5606 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.1252, allocations: 7.984 kB / 0.5606 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1252, allocations: 4 kB / 0.5606 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1252, allocations: 0 / 0.5606 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.806e-05/0.1253, allocations: 75.28 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1253, allocations: 0 / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1255, allocations: 39.94 kB / 0.5607 GB, free: 0.582 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.0005715/0.1261, allocations: 0.6436 MB / 0.5613 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.354e-05/0.1261, allocations: 8 kB / 0.5613 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1261, allocations: 0 / 0.5613 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.1262, allocations: 29.7 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1263, allocations: 0 / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.1266, allocations: 126.8 kB / 0.5615 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1269, allocations: 0.6729 MB / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.1269, allocations: 0 / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.127, allocations: 11.44 kB / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.127, allocations: 0 / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.1486, allocations: 1.855 MB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.963, allocations: 15.8 kB / 0.564 GB, free: 13.21 MB / 430.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: 10.90608202200383] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.03121324814856 8.052343941 7.925477516 Calling exit ...