Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002135, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, 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.2248/0.2248, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002189/0.002189, allocations: 81.11 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1106, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00174/0.1124, allocations: 0.5299 MB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.1132, allocations: 417.4 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.1132, allocations: 0 / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1133, allocations: 3.938 kB / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.866e-05/0.1133, allocations: 0 / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.1137, allocations: 143 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.1138, allocations: 31.91 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1139, allocations: 4 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.1139, allocations: 11.94 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.114, allocations: 27.84 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.114, allocations: 0 / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.1142, allocations: 155.8 kB / 481.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1143, allocations: 11.98 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1143, allocations: 23.86 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1145, allocations: 128 kB / 481.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1145, allocations: 4 kB / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1145, allocations: 0 / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1146, allocations: 0 / 481.7 MB, free: 3.664 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000425/0.115, allocations: 359.5 kB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.115, allocations: 12.03 kB / 482 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1151, allocations: 34.69 kB / 482.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1151, allocations: 12.84 kB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1153, allocations: 172.3 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1153, allocations: 4.375 kB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1153, allocations: 12.38 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1155, allocations: 65.98 kB / 482.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1155, allocations: 7.906 kB / 482.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1155, allocations: 0 / 482.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1155, allocations: 3.938 kB / 482.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.1156, allocations: 47.95 kB / 482.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.1158, allocations: 169.7 kB / 482.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.116, allocations: 86.48 kB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.116, allocations: 32.84 kB / 482.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.1163, allocations: 101.1 kB / 482.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.1164, allocations: 34.5 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1164, allocations: 3.938 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1375/0.2539, allocations: 5.63 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.254, allocations: 51.41 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.2541, allocations: 93.86 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2541, allocations: 29.7 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.2542, allocations: 84.64 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.2543, allocations: 70.91 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2544, allocations: 57.67 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2545, allocations: 326.8 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.2549, allocations: 107.9 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.2553, allocations: 115.9 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.2567, allocations: 335.4 kB / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2568, allocations: 0 / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001218/0.258, allocations: 353.1 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.258, allocations: 4 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.258, allocations: 0 / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.258, allocations: 4 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.2584, allocations: 75.91 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2585, allocations: 4 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2587, allocations: 31.91 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.2587, allocations: 19.97 kB / 490.2 MB, free: 10.89 MB / 366.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 (23): * Single equations (assignments): 23 * 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.0001259/0.2588, allocations: 121.8 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.2589, allocations: 7.906 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.2603, allocations: 433 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2604, allocations: 4 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2604, allocations: 0 / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2604, allocations: 3.938 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.2627, allocations: 0.7873 MB / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2628, allocations: 0 / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.2631, allocations: 71.92 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2631, allocations: 0 / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.2631, allocations: 19.92 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.2631, allocations: 7.938 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2631, allocations: 3.984 kB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.2644, allocations: 432.8 kB / 492 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.2644, allocations: 85.02 kB / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2645, allocations: 4 kB / 492.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2647, allocations: 23.97 kB / 492.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.2647, allocations: 15.98 kB / 492.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.2647, allocations: 11.98 kB / 492.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.2648, allocations: 87.22 kB / 492.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2648, allocations: 7.875 kB / 492.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001619/0.2664, allocations: 0.625 MB / 492.9 MB, free: 8.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004623/0.271, allocations: 1.133 MB / 494 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009792/0.272, allocations: 267.6 kB / 494.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2721, allocations: 0 / 494.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.2725, allocations: 139.8 kB / 494.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2728, allocations: 12 kB / 494.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.2748, allocations: 426.6 kB / 494.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2752, allocations: 0.6931 MB / 495.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.2755, allocations: 73.08 kB / 495.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2757, allocations: 63.38 kB / 495.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2757, allocations: 4 kB / 495.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/0.5338, allocations: 55.01 MB / 0.5378 GB, free: 18.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.725, allocations: 8.562 kB / 0.5378 GB, free: 18.98 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)