Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001626/0.001626, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002148/0.002148, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.547/1.547, 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.2328/0.2328, allocations: 46.92 MB / 357.7 MB, free: 10.29 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.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.00237/0.00237, allocations: 83.88 kB / 0.4916 GB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 66.04 MB / 0.5561 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001557/0.1237, allocations: 498 kB / 0.5566 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.124, allocations: 104.3 kB / 0.5567 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.124, allocations: 4 kB / 0.5567 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.124, allocations: 0 / 0.5567 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1243, allocations: 11.92 kB / 0.5567 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.773e-05/0.1243, allocations: 3.984 kB / 0.5567 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.1243, allocations: 11.94 kB / 0.5567 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.1244, allocations: 4 kB / 0.5568 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1244, allocations: 3.938 kB / 0.5568 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.1244, allocations: 3.984 kB / 0.5568 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1244, allocations: 0 / 0.5568 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.1245, allocations: 19.98 kB / 0.5568 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.1245, allocations: 4 kB / 0.5568 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.1245, allocations: 3.938 kB / 0.5568 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.1246, allocations: 23.95 kB / 0.5568 GB, free: 4.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1246, allocations: 0 / 0.5568 GB, free: 4.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1246, allocations: 0 / 0.5568 GB, free: 4.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1246, allocations: 3.938 kB / 0.5568 GB, free: 4.957 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003386/0.125, allocations: 323.5 kB / 0.5571 GB, free: 4.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.125, allocations: 8.031 kB / 0.5571 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.125, allocations: 34.73 kB / 0.5572 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.1251, allocations: 8.938 kB / 0.5572 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1252, allocations: 164.4 kB / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1252, allocations: 384 / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1252, allocations: 384 / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.1253, allocations: 46.17 kB / 0.5574 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1253, allocations: 3.938 kB / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1253, allocations: 0 / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1253, allocations: 4 kB / 0.5574 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.1254, allocations: 4 kB / 0.5574 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1255, allocations: 153.7 kB / 0.5575 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1257, allocations: 46.48 kB / 0.5576 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.1257, allocations: 8.859 kB / 0.5576 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.1261, allocations: 109.2 kB / 0.5577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1261, allocations: 46.55 kB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1261, allocations: 0 / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001224/0.1273, allocations: 185.3 kB / 0.5579 GB, free: 3.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1274, allocations: 51.41 kB / 0.558 GB, free: 3.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.1274, allocations: 101.9 kB / 0.5581 GB, free: 3.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1275, allocations: 25.7 kB / 0.5581 GB, free: 3.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.1275, allocations: 80.14 kB / 0.5582 GB, free: 3.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1275, allocations: 11.91 kB / 0.5582 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1276, allocations: 21.7 kB / 0.5582 GB, free: 3.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1277, allocations: 314.8 kB / 0.5585 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1278, allocations: 15.98 kB / 0.5585 GB, free: 2.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1278, allocations: 24.09 kB / 0.5585 GB, free: 2.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.128, allocations: 44.83 kB / 0.5586 GB, free: 2.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.128, allocations: 0 / 0.5586 GB, free: 2.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.1282, allocations: 81.55 kB / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1282, allocations: 4 kB / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1282, allocations: 0 / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1282, allocations: 0 / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1284, allocations: 23.98 kB / 0.5587 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1284, allocations: 3.984 kB / 0.5587 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.1284, allocations: 4 kB / 0.5587 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1285, allocations: 256 / 0.5587 GB, free: 2.789 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 (5): * Single equations (assignments): 5 * 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 7.943e-05/0.1285, allocations: 109.8 kB / 0.5588 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1286, allocations: 11.88 kB / 0.5588 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1288, allocations: 93.16 kB / 0.5589 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1288, allocations: 7.938 kB / 0.5589 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1288, allocations: 0 / 0.5589 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1288, allocations: 0 / 0.5589 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.1295, allocations: 359.2 kB / 0.5592 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1295, allocations: 4.031 kB / 0.5592 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.1296, allocations: 15.98 kB / 0.5593 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1296, allocations: 0 / 0.5593 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1296, allocations: 7.938 kB / 0.5593 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1296, allocations: 0 / 0.5593 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1296, allocations: 0 / 0.5593 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1299, allocations: 184.6 kB / 0.5594 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.13, allocations: 89.05 kB / 0.5595 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.13, allocations: 0 / 0.5595 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1301, allocations: 7.984 kB / 0.5595 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.1301, allocations: 4 kB / 0.5595 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1301, allocations: 7.984 kB / 0.5595 GB, free: 1.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.1301, allocations: 75.28 kB / 0.5596 GB, free: 1.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1301, allocations: 0 / 0.5596 GB, free: 1.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1304, allocations: 16.03 kB / 0.5596 GB, free: 1.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005705/0.1309, allocations: 0.7093 MB / 0.5603 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1311, allocations: 51.95 kB / 0.5604 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1311, allocations: 0 / 0.5604 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.1312, allocations: 19.92 kB / 0.5604 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1314, allocations: 8 kB / 0.5604 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.132, allocations: 159.5 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1323, allocations: 0.6768 MB / 0.5612 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.1323, allocations: 12.3 kB / 0.5612 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.1324, allocations: 7.438 kB / 0.5612 GB, free: 15.96 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1324, allocations: 4 kB / 0.5612 GB, free: 15.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.1539, allocations: 1.484 MB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/7.99, allocations: 10.03 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.034142199903727] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 8.055868268944323 8.071018119 7.943571145 Calling exit ...