Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008864/0.008864, allocations: 165.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.361/1.361, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001789/0.001789, allocations: 105.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3783/0.3783, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 16 kB / 362.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 48.69 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4815, allocations: 90 MB / 0.4898 GB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4819, allocations: 101.1 kB / 0.4899 GB, free: 13.76 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07072/0.5526, allocations: 22.55 MB / 0.512 GB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5527, allocations: 0 / 0.512 GB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.5527, allocations: 4 kB / 0.512 GB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001514/0.5542, allocations: 0.6287 MB / 0.5126 GB, free: 9.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5543, allocations: 8.031 kB / 0.5126 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.5544, allocations: 42.8 kB / 0.5126 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.555, allocations: 254.4 kB / 0.5129 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.555, allocations: 28.59 kB / 0.5129 GB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.5551, allocations: 34.25 kB / 0.5129 GB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008581/0.5559, allocations: 0.4909 MB / 0.5134 GB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.556, allocations: 4 kB / 0.5134 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.556, allocations: 14.53 kB / 0.5134 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/0.5561, allocations: 39.28 kB / 0.5135 GB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.5569, allocations: 0.5367 MB / 0.514 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.5596, allocations: 1.341 MB / 0.5153 GB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/0.5606, allocations: 376.4 kB / 0.5157 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.5607, allocations: 12.06 kB / 0.5157 GB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5607, allocations: 41.88 kB / 0.5157 GB, free: 6.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/0.5607, allocations: 0 / 0.5157 GB, free: 6.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001067/0.5618, allocations: 434.5 kB / 0.5161 GB, free: 6.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5619, allocations: 55.53 kB / 0.5162 GB, free: 6.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.5622, allocations: 279.6 kB / 0.5164 GB, free: 6.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5622, allocations: 29.33 kB / 0.5165 GB, free: 6.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5624, allocations: 198.5 kB / 0.5167 GB, free: 5.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.5625, allocations: 97.52 kB / 0.5167 GB, free: 5.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.5625, allocations: 3.562 kB / 0.5168 GB, free: 5.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5626, allocations: 340.8 kB / 0.5171 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.5629, allocations: 134.5 kB / 0.5172 GB, free: 5.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.5632, allocations: 154.5 kB / 0.5174 GB, free: 5.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.5635, allocations: 156.4 kB / 0.5175 GB, free: 5.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5635, allocations: 0 / 0.5175 GB, free: 5.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006911/0.5642, allocations: 376.6 kB / 0.5179 GB, free: 4.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5642, allocations: 4 kB / 0.5179 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5642, allocations: 4 kB / 0.5179 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5642, allocations: 0 / 0.5179 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.5648, allocations: 127.6 kB / 0.518 GB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.5671, allocations: 3.009 MB / 0.5209 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.5674, allocations: 47.36 kB / 0.521 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.5674, allocations: 15.61 kB / 0.521 GB, free: 1.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.5677, allocations: 181.1 kB / 0.5212 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.5678, allocations: 35.8 kB / 0.5212 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5688, allocations: 461.6 kB / 0.5216 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.5688, allocations: 4 kB / 0.5216 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5688, allocations: 3.984 kB / 0.5216 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5688, allocations: 0 / 0.5216 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.5694, allocations: 369 kB / 0.522 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5695, allocations: 4 kB / 0.522 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.57, allocations: 119.5 kB / 0.5221 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.57, allocations: 4 kB / 0.5221 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5701, allocations: 15.48 kB / 0.5221 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.5719, allocations: 3.014 MB / 0.5251 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5719, allocations: 0 / 0.5251 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.5726, allocations: 446.6 kB / 0.5255 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5728, allocations: 112.7 kB / 0.5256 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.5729, allocations: 7.25 kB / 0.5256 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5731, allocations: 20.81 kB / 0.5256 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.5732, allocations: 23.59 kB / 0.5257 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.5732, allocations: 8 kB / 0.5257 GB, free: 12.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.5735, allocations: 226.5 kB / 0.5259 GB, free: 12.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.194e-06/0.5735, allocations: 0 / 0.5259 GB, free: 12.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009293/0.5745, allocations: 208.3 kB / 0.5261 GB, free: 12.48 MB / 378.7 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008508/0.5753, allocations: 288 kB / 0.5264 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009364/0.5763, allocations: 359.9 kB / 0.5267 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.5763, allocations: 0 / 0.5267 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.5768, allocations: 208.5 kB / 0.5269 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.5773, allocations: 62.44 kB / 0.527 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5788, allocations: 0.8289 MB / 0.5278 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.5793, allocations: 0.8429 MB / 0.5286 GB, free: 9.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.5797, allocations: 122.8 kB / 0.5287 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5798, allocations: 38.86 kB / 0.5287 GB, free: 9.832 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.5798, allocations: 0 / 0.5287 GB, free: 9.832 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.5943, allocations: 6.978 MB / 0.5356 GB, free: 2.906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)