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.001331/0.001331, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.44 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.2289/0.2289, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.003257/0.003258, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3708, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001846/0.3727, allocations: 0.5417 MB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.3736, allocations: 406 kB / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.3737, allocations: 1.312 kB / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.3737, allocations: 3.938 kB / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.3737, allocations: 7.938 kB / 0.5315 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.3744, allocations: 138.1 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.3744, allocations: 30.48 kB / 0.5317 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.3745, allocations: 7.547 kB / 0.5317 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.3745, allocations: 15.12 kB / 0.5317 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.3746, allocations: 23.06 kB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3746, allocations: 1.844 kB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.375, allocations: 158.8 kB / 0.5319 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.375, allocations: 9.656 kB / 0.5319 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.375, allocations: 22.97 kB / 0.5319 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3753, allocations: 123.9 kB / 0.532 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3753, allocations: 0 / 0.532 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3753, allocations: 0 / 0.532 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3754, allocations: 3.625 kB / 0.532 GB, free: 12.34 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005394/0.3759, allocations: 367.8 kB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.376, allocations: 10.56 kB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.376, allocations: 34.75 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.376, allocations: 8.484 kB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3762, allocations: 172.3 kB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3762, allocations: 7.875 kB / 0.5326 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.3763, allocations: 8.219 kB / 0.5326 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3764, allocations: 63.27 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3765, allocations: 1.375 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3765, allocations: 9.312 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3765, allocations: 1.375 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.3766, allocations: 40.7 kB / 0.5327 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.3768, allocations: 185.9 kB / 0.5329 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.377, allocations: 86.14 kB / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3771, allocations: 28.77 kB / 0.533 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.3773, allocations: 107.8 kB / 0.5331 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.3774, allocations: 39.81 kB / 0.5331 GB, free: 11.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3774, allocations: 0 / 0.5331 GB, free: 11.17 MB / 398.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.1321/0.5095, allocations: 5.621 MB / 0.5386 GB, free: 8.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5096, allocations: 57.45 kB / 0.5387 GB, free: 8.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.5097, allocations: 95.05 kB / 0.5388 GB, free: 7.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.5097, allocations: 34.7 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5098, allocations: 81.64 kB / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.5099, allocations: 80.11 kB / 0.539 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.51, allocations: 58.7 kB / 0.539 GB, free: 7.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5102, allocations: 320.9 kB / 0.5393 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.5105, allocations: 117.7 kB / 0.5394 GB, free: 7.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.5109, allocations: 114.6 kB / 0.5395 GB, free: 7.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.5123, allocations: 322.7 kB / 0.5399 GB, free: 7.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5123, allocations: 0 / 0.5399 GB, free: 7.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001174/0.5134, allocations: 353.5 kB / 0.5402 GB, free: 6.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5135, allocations: 5.844 kB / 0.5402 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5135, allocations: 0 / 0.5402 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5135, allocations: 1.25 kB / 0.5402 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.5139, allocations: 90.72 kB / 0.5403 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5139, allocations: 1.094 kB / 0.5403 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.5141, allocations: 24.72 kB / 0.5403 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.5141, allocations: 19.36 kB / 0.5403 GB, free: 6.906 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 (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.0001265/0.5143, allocations: 129.3 kB / 0.5405 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.5143, allocations: 7.859 kB / 0.5405 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5157, allocations: 422.6 kB / 0.5409 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5157, allocations: 7.375 kB / 0.5409 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5157, allocations: 3.984 kB / 0.5409 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5157, allocations: 3.938 kB / 0.5409 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.5179, allocations: 0.7827 MB / 0.5416 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5179, allocations: 1.094 kB / 0.5416 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.5182, allocations: 80.61 kB / 0.5417 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.5182, allocations: 2.469 kB / 0.5417 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.5183, allocations: 10.61 kB / 0.5417 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5183, allocations: 2.562 kB / 0.5417 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5183, allocations: 0 / 0.5417 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5195, allocations: 445.5 kB / 0.5422 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.5195, allocations: 81.06 kB / 0.5422 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.5196, allocations: 8 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5198, allocations: 23.97 kB / 0.5423 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.5198, allocations: 11.98 kB / 0.5423 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.5198, allocations: 19.98 kB / 0.5423 GB, free: 5.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.5199, allocations: 79.28 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00152/0.5214, allocations: 0.6284 MB / 0.543 GB, free: 4.652 MB / 398.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.0043/0.5257, allocations: 1.135 MB / 0.5441 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.5266, allocations: 267.5 kB / 0.5444 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5266, allocations: 0 / 0.5444 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.527, allocations: 135.9 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.5272, allocations: 8 kB / 0.5445 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5288, allocations: 436.4 kB / 0.5449 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5292, allocations: 0.697 MB / 0.5456 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.5294, allocations: 85.02 kB / 0.5457 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.5296, allocations: 55.39 kB / 0.5457 GB, free: 1.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5296, allocations: 0 / 0.5457 GB, free: 1.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08984/0.6194, allocations: 55.07 MB / 0.5995 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.91, allocations: 11.08 kB / 0.5995 GB, free: 10.7 MB / 462.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)