Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, 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.001314/0.001313, 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.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2623/0.2623, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.0022/0.0022, allocations: 80.27 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1175, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00187/0.1194, allocations: 0.4918 MB / 480.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.1197, allocations: 110.3 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.1198, allocations: 0 / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.1198, allocations: 0 / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.68e-05/0.1198, allocations: 0 / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.12, allocations: 15.92 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.1201, allocations: 11.98 kB / 480.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1201, allocations: 4 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.1201, allocations: 4 kB / 480.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.1202, allocations: 15.91 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1202, allocations: 4 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.1203, allocations: 27.97 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1203, allocations: 4 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.1203, allocations: 11.92 kB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.67e-05/0.1204, allocations: 23.92 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1204, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1205, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1205, allocations: 0 / 480.9 MB, free: 4.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003847/0.1209, allocations: 327.6 kB / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1209, allocations: 12.03 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1209, allocations: 34.73 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.121, allocations: 4.938 kB / 481.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1211, allocations: 164.6 kB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1211, allocations: 4.375 kB / 481.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1211, allocations: 4.375 kB / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1212, allocations: 47.97 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1213, allocations: 7.938 kB / 481.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1213, allocations: 0 / 481.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1213, allocations: 4 kB / 481.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.1213, allocations: 19.92 kB / 481.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.1216, allocations: 325 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.666e-05/0.1217, allocations: 30.45 kB / 481.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1218, allocations: 16.94 kB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1218, allocations: 4 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1218, allocations: 34.56 kB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1218, allocations: 3.938 kB / 481.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001782/0.122, allocations: 53.69 kB / 482 MB, free: 3.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1221, allocations: 51.41 kB / 482.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.1221, allocations: 93.86 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1222, allocations: 25.7 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1222, allocations: 88.27 kB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1223, allocations: 11.8 kB / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1223, allocations: 17.72 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1224, allocations: 314.8 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.1225, allocations: 11.98 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1225, allocations: 13.72 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.1226, allocations: 33.66 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1226, allocations: 11.88 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.1227, allocations: 53.62 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1227, allocations: 4 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1227, allocations: 0 / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1227, allocations: 8.219 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.1228, allocations: 4 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1228, allocations: 7.984 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1229, allocations: 7.906 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1229, allocations: 128 / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.147e-05/0.123, allocations: 121.8 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.123, allocations: 3.984 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1231, allocations: 69.12 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1232, allocations: 3.984 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1232, allocations: 0 / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1232, allocations: 0 / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.1233, allocations: 161.6 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1234, allocations: 0 / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.1234, allocations: 4 kB / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1234, allocations: 8 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1234, allocations: 0 / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1234, allocations: 0 / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1234, allocations: 0 / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1236, allocations: 155.4 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1236, allocations: 85.02 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1237, allocations: 0 / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.1237, allocations: 0 / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1237, allocations: 11.92 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1237, allocations: 4 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.1238, allocations: 79.28 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1238, allocations: 0 / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.124, allocations: 8 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.000436/0.1245, allocations: 0.6844 MB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.1246, allocations: 28.11 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1246, allocations: 0 / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.1246, allocations: 19.94 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1248, allocations: 7 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.1252, allocations: 146.4 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1255, allocations: 0.6768 MB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1255, allocations: 8.062 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1256, allocations: 11.44 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1256, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.147, allocations: 1.275 MB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.862, allocations: 12.75 kB / 486.3 MB, free: 14.69 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)