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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2389/0.2389, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.002255/0.002255, allocations: 79.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1207, allocations: 62.46 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001923/0.1227, allocations: 498.7 kB / 480.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.1231, allocations: 106.3 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.1231, allocations: 4 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1231, allocations: 0 / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1234, allocations: 19.91 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.773e-05/0.1234, allocations: 0 / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.1234, allocations: 4 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1235, allocations: 4 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.1235, allocations: 7.938 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.1236, allocations: 11.92 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1236, allocations: 0 / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.1237, allocations: 19.98 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.1237, allocations: 0 / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.1237, allocations: 3.984 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.1238, allocations: 27.91 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1238, allocations: 3.938 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1238, allocations: 0 / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1238, allocations: 0 / 480.9 MB, free: 4.445 MB / 350.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.000378/0.1242, allocations: 311.6 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1243, allocations: 16.02 kB / 481.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1243, allocations: 34.75 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1244, allocations: 0.9375 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1245, allocations: 164.4 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1245, allocations: 4.375 kB / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1246, allocations: 384 / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1247, allocations: 38.19 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1247, allocations: 3.938 kB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1247, allocations: 8 kB / 481.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1247, allocations: 0 / 481.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.1248, allocations: 4 kB / 481.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.125, allocations: 157.9 kB / 481.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1252, allocations: 38.61 kB / 481.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.1252, allocations: 8.859 kB / 481.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/0.1256, allocations: 121.1 kB / 481.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1256, allocations: 30.56 kB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1256, allocations: 0 / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001316/0.1269, allocations: 189.3 kB / 482 MB, free: 3.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.127, allocations: 51.41 kB / 482.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.1271, allocations: 93.86 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1271, allocations: 25.7 kB / 482.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.1272, allocations: 84.14 kB / 482.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1272, allocations: 15.73 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1273, allocations: 21.84 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1274, allocations: 314.8 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.1275, allocations: 19.98 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.1276, allocations: 19.97 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1278, allocations: 44.83 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1278, allocations: 0 / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002143/0.128, allocations: 89.45 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.128, allocations: 6.344 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.128, allocations: 0 / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.128, allocations: 3.984 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1282, allocations: 15.98 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1282, allocations: 256 / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.1283, allocations: 4 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1283, allocations: 4 kB / 482.8 MB, free: 2.289 MB / 350.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 9.024e-05/0.1284, allocations: 121.8 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1284, allocations: 7.875 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.1287, allocations: 85.16 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1287, allocations: 0 / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1287, allocations: 4 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1287, allocations: 3.984 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.1295, allocations: 359.5 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1295, allocations: 0 / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.1296, allocations: 15.98 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1296, allocations: 0 / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1297, allocations: 48 / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1297, allocations: 4 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1297, allocations: 8.016 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.13, allocations: 180.2 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.13, allocations: 85.02 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.13, allocations: 3.984 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1301, allocations: 4 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1302, allocations: 7.984 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1302, allocations: 4 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.1302, allocations: 75.28 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1302, allocations: 3.938 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1305, allocations: 16 kB / 483.8 MB, free: 1.211 MB / 350.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.0006915/0.1312, allocations: 0.7171 MB / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1314, allocations: 48.14 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1314, allocations: 0 / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.1315, allocations: 23.92 kB / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1318, allocations: 10.3 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.1324, allocations: 163.5 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1327, allocations: 0.6768 MB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1328, allocations: 12 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.1328, allocations: 11.44 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1328, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1558, allocations: 1.45 MB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/7.92, allocations: 1.078 kB / 486.9 MB, free: 14.07 MB / 366.1 MB (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.00052 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)