Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.0022, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, 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.2296/0.2296, 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.002349/0.002349, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3187, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00445/0.3232, allocations: 3.149 MB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3252, allocations: 1.073 MB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.3254, allocations: 11.09 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.3257, allocations: 60.88 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3259, allocations: 116.6 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.3266, allocations: 186.7 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.3271, allocations: 465.9 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3274, allocations: 113.4 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3276, allocations: 165.7 kB / 0.5358 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3279, allocations: 186.2 kB / 0.5359 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.3279, allocations: 31.62 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3281, allocations: 56.73 kB / 0.536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.3282, allocations: 74.62 kB / 0.5361 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.3284, allocations: 199.3 kB / 0.5363 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.329, allocations: 464.5 kB / 0.5367 GB, free: 8.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.329, allocations: 3.938 kB / 0.5367 GB, free: 8.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.329, allocations: 0 / 0.5367 GB, free: 8.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.329, allocations: 1.188 kB / 0.5367 GB, free: 8.582 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001244/0.3303, allocations: 0.692 MB / 0.5374 GB, free: 7.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3303, allocations: 9.344 kB / 0.5374 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.762e-05/0.3304, allocations: 77.72 kB / 0.5375 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.3307, allocations: 72.91 kB / 0.5376 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3312, allocations: 299.6 kB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.3313, allocations: 26.91 kB / 0.5379 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.3313, allocations: 39.88 kB / 0.5379 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.332, allocations: 367.3 kB / 0.5383 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.332, allocations: 6.516 kB / 0.5383 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.332, allocations: 16 kB / 0.5383 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3321, allocations: 8.75 kB / 0.5383 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.3326, allocations: 250.2 kB / 0.5385 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.3348, allocations: 1.518 MB / 0.54 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.3356, allocations: 417.3 kB / 0.5404 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3358, allocations: 135 kB / 0.5405 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3359, allocations: 8.703 kB / 0.5406 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.3359, allocations: 50.36 kB / 0.5406 GB, free: 5.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.3359, allocations: 0 / 0.5406 GB, free: 5.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003408/0.3394, allocations: 1.987 MB / 0.5425 GB, free: 3.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3395, allocations: 189 kB / 0.5427 GB, free: 3.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3398, allocations: 252.5 kB / 0.543 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3398, allocations: 35.95 kB / 0.543 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.34, allocations: 205.6 kB / 0.5432 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3402, allocations: 191.5 kB / 0.5434 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3403, allocations: 95.33 kB / 0.5435 GB, free: 2.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3405, allocations: 348.4 kB / 0.5438 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.3408, allocations: 121.2 kB / 0.5439 GB, free: 2.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.3412, allocations: 304.9 kB / 0.5442 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.3419, allocations: 454.1 kB / 0.5446 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3419, allocations: 5.25 kB / 0.5446 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000897/0.3428, allocations: 0.4901 MB / 0.5451 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3428, allocations: 8.406 kB / 0.5451 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3428, allocations: 12.98 kB / 0.5451 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3429, allocations: 8.969 kB / 0.5451 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.3433, allocations: 137.8 kB / 0.5453 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.3434, allocations: 16.97 kB / 0.5453 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3436, allocations: 29.27 kB / 0.5453 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.3437, allocations: 27.17 kB / 0.5453 GB, free: 1.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001887/0.3439, allocations: 165.6 kB / 0.5455 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.344, allocations: 39.64 kB / 0.5455 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3443, allocations: 129.4 kB / 0.5457 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3443, allocations: 6.031 kB / 0.5457 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3443, allocations: 9.562 kB / 0.5457 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3444, allocations: 5.453 kB / 0.5457 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.3464, allocations: 1.239 MB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3464, allocations: 3.469 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.347, allocations: 121.4 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.347, allocations: 8 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.347, allocations: 12 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.347, allocations: 7.984 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.3471, allocations: 8.125 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3482, allocations: 1.013 MB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3483, allocations: 112.9 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.3484, allocations: 16 kB / 0.5482 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3487, allocations: 11.98 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.3488, allocations: 51.83 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3489, allocations: 12 kB / 0.5482 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.349, allocations: 182 kB / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3491, allocations: 0 / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006577/0.3497, allocations: 100 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * 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.001418/0.3511, allocations: 1.571 MB / 0.55 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.3518, allocations: 346.6 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3518, allocations: 0.875 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.3521, allocations: 179.6 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3532, allocations: 84.72 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/0.3594, allocations: 4.661 MB / 0.5552 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.3599, allocations: 0.8041 MB / 0.556 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.3601, allocations: 55.25 kB / 0.556 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.3603, allocations: 131.4 kB / 0.5561 GB, free: 6.133 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3603, allocations: 0 / 0.5561 GB, free: 6.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.3938, allocations: 7.751 MB / 0.5637 GB, free: 14.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.175, allocations: 5.969 kB / 0.5637 GB, free: 14.51 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1)