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.001425/0.001425, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 204.6 kB / 18.74 MB, free: 4.332 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 / 247 MB, free: 10.4 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.227/0.227, allocations: 46.12 MB / 344.3 MB, free: 11.44 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.002285/0.002285, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.352, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001864/0.3539, allocations: 0.4993 MB / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.3543, allocations: 100.2 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.3543, allocations: 1.562 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.3543, allocations: 0 / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.3544, allocations: 0 / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.3546, allocations: 16.48 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.3546, allocations: 10.02 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.3547, allocations: 1.375 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.3547, allocations: 14.14 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3548, allocations: 2.469 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.3548, allocations: 1.188 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3549, allocations: 31.72 kB / 0.5313 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3549, allocations: 7.984 kB / 0.5313 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.355, allocations: 5.844 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3551, allocations: 28.61 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3551, allocations: 0 / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3551, allocations: 1.781 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3551, allocations: 0 / 0.5313 GB, free: 12.84 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.0004907/0.3556, allocations: 332.8 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3557, allocations: 9.562 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3557, allocations: 38.75 kB / 0.5317 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.3557, allocations: 2.875 kB / 0.5317 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3559, allocations: 166.5 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3559, allocations: 384 / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3559, allocations: 2.188 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3561, allocations: 51.62 kB / 0.5319 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3561, allocations: 3.938 kB / 0.5319 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3561, allocations: 7.984 kB / 0.5319 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3561, allocations: 1.625 kB / 0.5319 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.3562, allocations: 18.14 kB / 0.5319 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3565, allocations: 315.7 kB / 0.5322 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.3566, allocations: 37.02 kB / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3567, allocations: 11.05 kB / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3567, allocations: 0 / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3567, allocations: 40.03 kB / 0.5323 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3567, allocations: 0 / 0.5323 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002054/0.3569, allocations: 58.17 kB / 0.5323 GB, free: 11.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.357, allocations: 53.09 kB / 0.5324 GB, free: 11.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.3571, allocations: 99.41 kB / 0.5325 GB, free: 11.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3571, allocations: 26.95 kB / 0.5325 GB, free: 11.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.3572, allocations: 80.14 kB / 0.5326 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3572, allocations: 19.22 kB / 0.5326 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3572, allocations: 16.31 kB / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3574, allocations: 324.1 kB / 0.5329 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.3574, allocations: 4.062 kB / 0.5329 GB, free: 11.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.3575, allocations: 23.66 kB / 0.533 GB, free: 11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.3575, allocations: 36.33 kB / 0.533 GB, free: 10.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3576, allocations: 3.938 kB / 0.533 GB, free: 10.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.479e-05/0.3577, allocations: 61.25 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3577, allocations: 6.25 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3577, allocations: 0 / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3577, allocations: 1.094 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.3578, allocations: 6.406 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3578, allocations: 1.312 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.3578, allocations: 5.391 kB / 0.5331 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3578, allocations: 1.094 kB / 0.5331 GB, free: 10.91 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 8.565e-05/0.3579, allocations: 120.6 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.3579, allocations: 1.25 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.3581, allocations: 64.11 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3581, allocations: 0 / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3581, allocations: 1.75 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3581, allocations: 0 / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3583, allocations: 163.1 kB / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3583, allocations: 0 / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.3583, allocations: 11.38 kB / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3583, allocations: 0 / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3583, allocations: 0 / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3584, allocations: 5.781 kB / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3584, allocations: 0 / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3585, allocations: 153.6 kB / 0.5336 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3586, allocations: 85 kB / 0.5337 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3586, allocations: 9.734 kB / 0.5337 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.3586, allocations: 4.234 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.3587, allocations: 5.75 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3587, allocations: 5.781 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.3587, allocations: 77.06 kB / 0.5338 GB, free: 10.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3587, allocations: 0 / 0.5338 GB, free: 10.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3589, allocations: 5.375 kB / 0.5338 GB, free: 10.17 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.0004625/0.3594, allocations: 0.6907 MB / 0.5344 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3595, allocations: 30.81 kB / 0.5345 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3595, allocations: 2.25 kB / 0.5345 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.3596, allocations: 13.64 kB / 0.5345 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3598, allocations: 7.375 kB / 0.5345 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3602, allocations: 139.1 kB / 0.5346 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3606, allocations: 0.6818 MB / 0.5353 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.3607, allocations: 6.031 kB / 0.5353 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.3607, allocations: 8.344 kB / 0.5353 GB, free: 8.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3607, allocations: 1.969 kB / 0.5353 GB, free: 8.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.3831, allocations: 1.298 MB / 0.5366 GB, free: 7.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.095, allocations: 14.38 kB / 0.5366 GB, free: 7.883 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)