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.001377/0.001377, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.001567/0.001567, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.581/1.581, allocations: 227.4 MB / 251.7 MB, free: 88 kB / 190.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.2767/0.2767, allocations: 46.15 MB / 351.1 MB, free: 14.4 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.002351/0.002351, allocations: 82.16 kB / 489.6 MB, free: 28.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 62.44 MB / 0.5392 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001698/0.1226, allocations: 0.4986 MB / 0.5396 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.1229, allocations: 92.12 kB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.123, allocations: 0 / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.123, allocations: 0 / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1232, allocations: 19.91 kB / 0.5397 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.821e-05/0.1233, allocations: 4 kB / 0.5397 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.1233, allocations: 15.92 kB / 0.5398 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.1234, allocations: 0 / 0.5398 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.1234, allocations: 3.938 kB / 0.5398 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.1235, allocations: 7.938 kB / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1235, allocations: 0 / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.1236, allocations: 23.97 kB / 0.5398 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.1236, allocations: 7.984 kB / 0.5398 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.1236, allocations: 0 / 0.5398 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.1237, allocations: 24.14 kB / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1237, allocations: 0 / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1237, allocations: 0 / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1238, allocations: 4 kB / 0.5398 GB, free: 4.121 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.000463/0.1242, allocations: 319.5 kB / 0.5401 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1243, allocations: 8.031 kB / 0.5401 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1243, allocations: 34.75 kB / 0.5402 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.1243, allocations: 4.938 kB / 0.5402 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1245, allocations: 168.3 kB / 0.5403 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1245, allocations: 384 / 0.5403 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1245, allocations: 8.375 kB / 0.5404 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.1246, allocations: 34.27 kB / 0.5404 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1246, allocations: 3.938 kB / 0.5404 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1247, allocations: 0 / 0.5404 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1247, allocations: 0 / 0.5404 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.1247, allocations: 11.98 kB / 0.5404 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1249, allocations: 149.7 kB / 0.5405 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1251, allocations: 38.55 kB / 0.5406 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.1251, allocations: 20.86 kB / 0.5406 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.1255, allocations: 113.1 kB / 0.5407 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1255, allocations: 30.56 kB / 0.5407 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1255, allocations: 0 / 0.5407 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001306/0.1268, allocations: 189.3 kB / 0.5409 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1269, allocations: 55.34 kB / 0.541 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.127, allocations: 93.84 kB / 0.5411 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.127, allocations: 29.7 kB / 0.5411 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.127, allocations: 80.14 kB / 0.5412 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1271, allocations: 23.95 kB / 0.5412 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1271, allocations: 21.7 kB / 0.5412 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1272, allocations: 314.8 kB / 0.5415 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.1273, allocations: 15.98 kB / 0.5415 GB, free: 2.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.1274, allocations: 19.98 kB / 0.5415 GB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1276, allocations: 48.77 kB / 0.5416 GB, free: 2.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1276, allocations: 4 kB / 0.5416 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.1278, allocations: 77.59 kB / 0.5417 GB, free: 1.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1278, allocations: 8 kB / 0.5417 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1278, allocations: 3.938 kB / 0.5417 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1278, allocations: 0 / 0.5417 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.128, allocations: 11.98 kB / 0.5417 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.128, allocations: 4 kB / 0.5417 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.1281, allocations: 7.984 kB / 0.5417 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1281, allocations: 0 / 0.5417 GB, free: 1.953 MB / 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 (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.558e-05/0.1282, allocations: 113.8 kB / 0.5418 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1282, allocations: 11.89 kB / 0.5418 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1284, allocations: 93.39 kB / 0.5419 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1285, allocations: 0 / 0.5419 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1285, allocations: 0 / 0.5419 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1285, allocations: 4 kB / 0.5419 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.1293, allocations: 359.5 kB / 0.5423 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1293, allocations: 0 / 0.5423 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.1294, allocations: 19.98 kB / 0.5423 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1294, allocations: 0 / 0.5423 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1294, allocations: 0 / 0.5423 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1294, allocations: 4.031 kB / 0.5423 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1294, allocations: 4 kB / 0.5423 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1297, allocations: 180.2 kB / 0.5425 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.1298, allocations: 81.06 kB / 0.5425 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1298, allocations: 4 kB / 0.5425 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1299, allocations: 15.92 kB / 0.5426 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.1299, allocations: 0 / 0.5426 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1299, allocations: 4 kB / 0.5426 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.13, allocations: 75.28 kB / 0.5426 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.13, allocations: 0 / 0.5426 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1302, allocations: 12 kB / 0.5426 GB, free: 0.8828 MB / 398.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.0006705/0.1309, allocations: 0.7171 MB / 0.5433 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1312, allocations: 39.97 kB / 0.5434 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1312, allocations: 4 kB / 0.5434 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1313, allocations: 31.97 kB / 0.5434 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1315, allocations: 10.34 kB / 0.5434 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.1321, allocations: 163.4 kB / 0.5436 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1324, allocations: 0.6768 MB / 0.5442 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.201e-05/0.1324, allocations: 8.312 kB / 0.5442 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1325, allocations: 11.42 kB / 0.5443 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1325, allocations: 0 / 0.5443 GB, free: 15.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.1538, allocations: 1.486 MB / 0.5457 GB, free: 13.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/7.896, allocations: 11.78 kB / 0.5457 GB, free: 13.71 MB / 414.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.149060996016487] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 7.963455930002965 7.98891876 7.860738818 Calling exit ...