Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01997/0.01997, allocations: 165.2 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.955/1.955, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002649/0.002649, allocations: 107 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5696/0.5696, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006811/0.0006811, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1193, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5654, allocations: 90 MB / 0.4899 GB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/0.5659, allocations: 99.23 kB / 0.49 GB, free: 13.77 MB / 346.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.1273/0.6932, allocations: 22.55 MB / 0.5121 GB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6933, allocations: 0 / 0.5121 GB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.6933, allocations: 12 kB / 0.5121 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.00193/0.6952, allocations: 0.6268 MB / 0.5127 GB, free: 9.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.6953, allocations: 8.031 kB / 0.5127 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002629/0.6956, allocations: 79.83 kB / 0.5128 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.6959, allocations: 38.8 kB / 0.5128 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.6967, allocations: 258.3 kB / 0.5131 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.6968, allocations: 28.06 kB / 0.5131 GB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.6969, allocations: 30.73 kB / 0.5131 GB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6991, allocations: 0.4941 MB / 0.5136 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.6992, allocations: 1.031 kB / 0.5136 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.6994, allocations: 15.3 kB / 0.5136 GB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.6996, allocations: 44.66 kB / 0.5137 GB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.7021, allocations: 0.5326 MB / 0.5142 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.7076, allocations: 1.338 MB / 0.5155 GB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.7097, allocations: 383.6 kB / 0.5158 GB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.7099, allocations: 8.828 kB / 0.5159 GB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.71, allocations: 34.25 kB / 0.5159 GB, free: 6.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 4.138e-06/0.71, allocations: 0 / 0.5159 GB, free: 6.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00258/0.7126, allocations: 443.8 kB / 0.5163 GB, free: 6.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.7127, allocations: 59.36 kB / 0.5164 GB, free: 6.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/0.7135, allocations: 277.3 kB / 0.5166 GB, free: 6.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.7136, allocations: 29.02 kB / 0.5167 GB, free: 6.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.7138, allocations: 199.6 kB / 0.5168 GB, free: 5.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.714, allocations: 83.88 kB / 0.5169 GB, free: 5.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.7141, allocations: 19.19 kB / 0.5169 GB, free: 5.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7144, allocations: 339.3 kB / 0.5173 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/0.7152, allocations: 123.2 kB / 0.5174 GB, free: 5.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.716, allocations: 160.7 kB / 0.5175 GB, free: 5.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.7168, allocations: 146.4 kB / 0.5177 GB, free: 5.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7168, allocations: 0 / 0.5177 GB, free: 5.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001959/0.7188, allocations: 379.7 kB / 0.518 GB, free: 4.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.7189, allocations: 5.875 kB / 0.518 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.7189, allocations: 0 / 0.518 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.719, allocations: 7.984 kB / 0.5181 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.7208, allocations: 123.6 kB / 0.5182 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.724, allocations: 3.008 MB / 0.5211 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.7248, allocations: 47.05 kB / 0.5212 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.7249, allocations: 15.19 kB / 0.5212 GB, free: 1.562 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.0004709/0.7254, allocations: 183.8 kB / 0.5213 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7255, allocations: 31.62 kB / 0.5214 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.7282, allocations: 472.4 kB / 0.5218 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7283, allocations: 0 / 0.5218 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.7283, allocations: 4 kB / 0.5218 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7284, allocations: 3.984 kB / 0.5218 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.7295, allocations: 371.9 kB / 0.5222 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7295, allocations: 0 / 0.5222 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.7313, allocations: 123.4 kB / 0.5223 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.7314, allocations: 0 / 0.5223 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.7315, allocations: 7.125 kB / 0.5223 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.7345, allocations: 3.012 MB / 0.5253 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.7345, allocations: 4.031 kB / 0.5253 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.7365, allocations: 455.2 kB / 0.5257 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.7367, allocations: 108.8 kB / 0.5258 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7369, allocations: 15.56 kB / 0.5258 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.7374, allocations: 7.438 kB / 0.5258 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7376, allocations: 26.83 kB / 0.5258 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/0.7377, allocations: 15.94 kB / 0.5259 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005508/0.7383, allocations: 229 kB / 0.5261 GB, free: 12.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.7383, allocations: 0 / 0.5261 GB, free: 12.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00154/0.7399, allocations: 201.7 kB / 0.5263 GB, free: 12.42 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.003579/0.7435, allocations: 1.155 MB / 0.5274 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.7462, allocations: 365.4 kB / 0.5277 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.7463, allocations: 7.938 kB / 0.5278 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.7479, allocations: 199.6 kB / 0.5279 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.7489, allocations: 62.66 kB / 0.528 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/0.7574, allocations: 2.491 MB / 0.5304 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/0.7584, allocations: 0.8438 MB / 0.5313 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.7594, allocations: 118.8 kB / 0.5314 GB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.7599, allocations: 112.4 kB / 0.5315 GB, free: 7.473 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7599, allocations: 3.938 kB / 0.5315 GB, free: 7.469 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.8073, allocations: 10.37 MB / 0.5416 GB, free: 13.22 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.8077, allocations: 259.1 kB / 0.5419 GB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/3.974, allocations: 0 / 0.5419 GB, free: 12.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat