Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.174/1.174, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008567/0.0008567, allocations: 92.12 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1614/0.1614, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/0.3556, allocations: 69.4 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.4414, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/0.7015, allocations: 94.3 MB / 0.596 GB, free: 8.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.7018, allocations: 97.12 kB / 0.5961 GB, free: 8.43 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.03245/0.7343, allocations: 11.04 MB / 0.6069 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7343, allocations: 8 kB / 0.6069 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.7345, allocations: 51.34 kB / 0.6069 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.7349, allocations: 326.5 kB / 0.6072 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.7349, allocations: 16 kB / 0.6072 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.735, allocations: 28 kB / 0.6073 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007711/0.7358, allocations: 0.6516 MB / 0.6079 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.7365, allocations: 0.5996 MB / 0.6085 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7366, allocations: 3.938 kB / 0.6085 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.7366, allocations: 0 / 0.6085 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.7367, allocations: 56.02 kB / 0.6085 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.739, allocations: 1.578 MB / 0.6101 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.7395, allocations: 328.5 kB / 0.6104 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.7397, allocations: 132.5 kB / 0.6105 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.7397, allocations: 12.2 kB / 0.6105 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.7398, allocations: 34.17 kB / 0.6106 GB, free: 11.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.205e-06/0.7398, allocations: 0 / 0.6106 GB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006139/0.7404, allocations: 327.4 kB / 0.6109 GB, free: 11.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.7404, allocations: 55.41 kB / 0.6109 GB, free: 11.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.7406, allocations: 207.1 kB / 0.6111 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.7407, allocations: 25.7 kB / 0.6112 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.7408, allocations: 270.4 kB / 0.6114 GB, free: 10.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.7409, allocations: 91.72 kB / 0.6115 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.7409, allocations: 0 / 0.6115 GB, free: 10.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.741, allocations: 340.6 kB / 0.6118 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.7412, allocations: 122.5 kB / 0.6119 GB, free: 10.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.7415, allocations: 234 kB / 0.6122 GB, free: 9.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.7418, allocations: 175.8 kB / 0.6123 GB, free: 9.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7418, allocations: 0 / 0.6123 GB, free: 9.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006512/0.7424, allocations: 422.3 kB / 0.6127 GB, free: 9.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.7424, allocations: 4 kB / 0.6127 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7425, allocations: 4 kB / 0.6127 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7425, allocations: 7.938 kB / 0.6128 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.7432, allocations: 171.2 kB / 0.6129 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.7449, allocations: 3.641 MB / 0.6165 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.7452, allocations: 39.58 kB / 0.6165 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.7453, allocations: 23.3 kB / 0.6165 GB, free: 5.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.7454, allocations: 120.5 kB / 0.6166 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.7454, allocations: 23.72 kB / 0.6167 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.7466, allocations: 0.5575 MB / 0.6172 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7466, allocations: 4 kB / 0.6172 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7466, allocations: 3.984 kB / 0.6172 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.7466, allocations: 3.938 kB / 0.6172 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.7471, allocations: 390.4 kB / 0.6176 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7471, allocations: 0 / 0.6176 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.7477, allocations: 139 kB / 0.6177 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7477, allocations: 0 / 0.6177 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.7478, allocations: 11.98 kB / 0.6177 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.7494, allocations: 3.644 MB / 0.6213 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7495, allocations: 8 kB / 0.6213 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007536/0.7502, allocations: 0.6034 MB / 0.6219 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001016/0.7513, allocations: 1.175 MB / 0.623 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.7514, allocations: 159.1 kB / 0.6232 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.7515, allocations: 128 / 0.6232 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.7517, allocations: 12 kB / 0.6232 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.7518, allocations: 31.48 kB / 0.6232 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.7518, allocations: 8 kB / 0.6232 GB, free: 14.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001411/0.752, allocations: 173.3 kB / 0.6234 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001171/0.7531, allocations: 194.9 kB / 0.6236 GB, free: 14.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.7535, allocations: 200.2 kB / 0.6238 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.7546, allocations: 415.3 kB / 0.6242 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7546, allocations: 0 / 0.6242 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.7553, allocations: 247.3 kB / 0.6244 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.7555, allocations: 15.53 kB / 0.6244 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.7569, allocations: 0.6674 MB / 0.6251 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.7575, allocations: 0.9618 MB / 0.626 GB, free: 11.89 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7575, allocations: 7.938 kB / 0.626 GB, free: 11.88 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat