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.001266/0.001266, allocations: 122.8 kB / 17.78 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.001309/0.001309, allocations: 202 kB / 18.74 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.428/1.428, allocations: 227.4 MB / 247 MB, free: 10.51 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.2361/0.2361, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002505/0.002505, allocations: 75.88 kB / 480.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3743, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001749/0.3761, allocations: 0.5036 MB / 0.5311 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.3765, allocations: 99.94 kB / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.3765, allocations: 1.5 kB / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3766, allocations: 0 / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.3766, allocations: 0 / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3769, allocations: 19.94 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.377, allocations: 6.906 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.377, allocations: 1.219 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.3771, allocations: 14.67 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.3771, allocations: 2.906 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3771, allocations: 0 / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.3772, allocations: 35.12 kB / 0.5313 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3773, allocations: 5.516 kB / 0.5313 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3773, allocations: 5.25 kB / 0.5313 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.3774, allocations: 28.02 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3774, allocations: 1.812 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3774, allocations: 0 / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3775, allocations: 0 / 0.5313 GB, free: 12.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000535/0.378, allocations: 332.1 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3781, allocations: 10.75 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.3781, allocations: 38.75 kB / 0.5317 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.3782, allocations: 2.719 kB / 0.5317 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3783, allocations: 166.1 kB / 0.5318 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3783, allocations: 384 / 0.5318 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.3783, allocations: 2.156 kB / 0.5318 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3785, allocations: 51.16 kB / 0.5319 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3785, allocations: 5.719 kB / 0.5319 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3785, allocations: 3.938 kB / 0.5319 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3785, allocations: 0 / 0.5319 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.3786, allocations: 24.05 kB / 0.5319 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.379, allocations: 315.5 kB / 0.5322 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/0.3791, allocations: 31.89 kB / 0.5322 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.3791, allocations: 11.23 kB / 0.5322 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3791, allocations: 3.984 kB / 0.5322 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3792, allocations: 39.75 kB / 0.5323 GB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.3792, allocations: 0 / 0.5323 GB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.3794, allocations: 59.23 kB / 0.5323 GB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.3794, allocations: 51.41 kB / 0.5324 GB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.3795, allocations: 100.1 kB / 0.5325 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3796, allocations: 27.8 kB / 0.5325 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3796, allocations: 80.14 kB / 0.5326 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3797, allocations: 25.97 kB / 0.5326 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3797, allocations: 12.81 kB / 0.5326 GB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3799, allocations: 322.1 kB / 0.5329 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.3799, allocations: 2.781 kB / 0.5329 GB, free: 11.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.3799, allocations: 18.69 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.38, allocations: 35.8 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.38, allocations: 3.938 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.3801, allocations: 63.44 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3801, allocations: 5.312 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3802, allocations: 0 / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3802, allocations: 3.688 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.3802, allocations: 8.25 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3803, allocations: 3.938 kB / 0.5331 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.3803, allocations: 3.953 kB / 0.5331 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3803, allocations: 0 / 0.5331 GB, free: 10.92 MB / 398.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 9.284e-05/0.3804, allocations: 121.2 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.3804, allocations: 3.984 kB / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.3806, allocations: 61.88 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3806, allocations: 0 / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3806, allocations: 0 / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3806, allocations: 0 / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3808, allocations: 164.7 kB / 0.5334 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3808, allocations: 0 / 0.5334 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.3809, allocations: 11.03 kB / 0.5334 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3809, allocations: 0 / 0.5334 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3809, allocations: 0 / 0.5334 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3809, allocations: 4 kB / 0.5334 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3809, allocations: 0 / 0.5334 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.381, allocations: 157.5 kB / 0.5336 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.3811, allocations: 88.98 kB / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3811, allocations: 3.469 kB / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.3812, allocations: 4 kB / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.3812, allocations: 0 / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3812, allocations: 6.656 kB / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.3813, allocations: 77.97 kB / 0.5337 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3813, allocations: 3.938 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3815, allocations: 3 kB / 0.5338 GB, free: 10.19 MB / 398.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.0005107/0.382, allocations: 0.6907 MB / 0.5344 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3821, allocations: 31.47 kB / 0.5345 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3822, allocations: 1.312 kB / 0.5345 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.3822, allocations: 13.23 kB / 0.5345 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.3824, allocations: 5.375 kB / 0.5345 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.3828, allocations: 142.7 kB / 0.5346 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3832, allocations: 0.6775 MB / 0.5353 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.3832, allocations: 5.406 kB / 0.5353 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3832, allocations: 10.56 kB / 0.5353 GB, free: 8.609 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3832, allocations: 0 / 0.5353 GB, free: 8.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.407, allocations: 1.304 MB / 0.5366 GB, free: 7.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.166, allocations: 20.83 kB / 0.5366 GB, free: 7.898 MB / 398.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)