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.001387/0.001387, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2234/0.2234, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002392/0.002392, allocations: 84.59 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1206, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00231/0.123, allocations: 491.6 kB / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.1234, allocations: 114.3 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.1235, allocations: 0 / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.1235, allocations: 4 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1238, allocations: 11.92 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.76e-05/0.1238, allocations: 3.984 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.1239, allocations: 11.94 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.124, allocations: 3.984 kB / 480.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.124, allocations: 4 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.1241, allocations: 3.938 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1241, allocations: 0 / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.1242, allocations: 19.98 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1242, allocations: 0 / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.1242, allocations: 4 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1243, allocations: 31.89 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1244, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1244, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1244, allocations: 0 / 480.9 MB, free: 4.441 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.0004153/0.1248, allocations: 319.6 kB / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1249, allocations: 8.031 kB / 481.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.1249, allocations: 30.75 kB / 481.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.1249, allocations: 0.9375 kB / 481.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1251, allocations: 168.4 kB / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1251, allocations: 4.375 kB / 481.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1252, allocations: 4.312 kB / 481.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1253, allocations: 38.25 kB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1253, allocations: 3.938 kB / 481.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1253, allocations: 3.938 kB / 481.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1253, allocations: 0 / 481.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.1254, allocations: 8 kB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1256, allocations: 153.9 kB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1258, allocations: 46.55 kB / 481.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.1259, allocations: 12.86 kB / 481.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.1263, allocations: 113.1 kB / 481.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1263, allocations: 30.56 kB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1263, allocations: 4 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001293/0.1276, allocations: 185.3 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1277, allocations: 55.41 kB / 482.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.1277, allocations: 93.86 kB / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1278, allocations: 25.7 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1278, allocations: 80.14 kB / 482.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1279, allocations: 19.8 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1279, allocations: 13.72 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1281, allocations: 314.8 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.1282, allocations: 23.91 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.1283, allocations: 19.98 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1284, allocations: 44.95 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1284, allocations: 192 / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002355/0.1287, allocations: 93.45 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1287, allocations: 7.984 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1287, allocations: 0 / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1287, allocations: 0 / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1289, allocations: 15.98 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.1289, allocations: 4 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.129, allocations: 4 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.129, allocations: 0 / 482.8 MB, free: 2.277 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 0.0001157/0.1291, allocations: 117.8 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1291, allocations: 3.938 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1294, allocations: 89.16 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1295, allocations: 7.984 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1295, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1295, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.1303, allocations: 351.5 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1303, allocations: 8.031 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1304, allocations: 11.98 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1304, allocations: 0 / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1304, allocations: 4.047 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1304, allocations: 0 / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1305, allocations: 3.984 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.1307, allocations: 192.2 kB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1308, allocations: 85 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1308, allocations: 192 / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1309, allocations: 8 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.131, allocations: 11.98 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.131, allocations: 0 / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.131, allocations: 75.28 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1313, allocations: 12.09 kB / 483.8 MB, free: 1.207 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.0006471/0.1319, allocations: 0.7209 MB / 484.5 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1322, allocations: 51.95 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1322, allocations: 0 / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1323, allocations: 31.91 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1325, allocations: 2.062 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.1331, allocations: 159.4 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1335, allocations: 0.6846 MB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.1335, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1336, allocations: 15.44 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1336, allocations: 4 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1554, allocations: 1.463 MB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.008, allocations: 7.203 kB / 486.9 MB, free: 14.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)