Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007579/0.0007579, allocations: 98.11 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2662/0.2662, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002352, allocations: 4.219 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2427, allocations: 62.96 MB / 0.516 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001484/0.2442, allocations: 1.675 MB / 0.5176 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.2451, allocations: 0.7666 MB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.2452, allocations: 0 / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.2454, allocations: 51.8 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.2456, allocations: 108.8 kB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.2458, allocations: 60 kB / 0.5186 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.246, allocations: 378.2 kB / 0.5189 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.2461, allocations: 35.11 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2463, allocations: 123.1 kB / 0.5191 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2464, allocations: 148.5 kB / 0.5192 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2464, allocations: 9.562 kB / 0.5192 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2466, allocations: 114.7 kB / 0.5193 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.2467, allocations: 65.7 kB / 0.5194 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.2468, allocations: 133.2 kB / 0.5195 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.247, allocations: 248.8 kB / 0.5198 GB, free: 34.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.247, allocations: 4 kB / 0.5198 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.247, allocations: 0 / 0.5198 GB, free: 34.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.247, allocations: 0 / 0.5198 GB, free: 34.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0005648/0.2476, allocations: 0.5105 MB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2476, allocations: 12.78 kB / 0.5203 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.2477, allocations: 70.73 kB / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.2477, allocations: 32.41 kB / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2479, allocations: 252.6 kB / 0.5206 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2479, allocations: 21.7 kB / 0.5206 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.2479, allocations: 25.97 kB / 0.5207 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2484, allocations: 392.2 kB / 0.521 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2485, allocations: 0 / 0.521 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2485, allocations: 10.44 kB / 0.5211 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.2485, allocations: 27.53 kB / 0.5211 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.2491, allocations: 421.8 kB / 0.5215 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.25, allocations: 0.8775 MB / 0.5223 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.2505, allocations: 308.1 kB / 0.5226 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.2507, allocations: 114.8 kB / 0.5227 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2508, allocations: 7.312 kB / 0.5227 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.2508, allocations: 33.03 kB / 0.5228 GB, free: 33.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2508, allocations: 0 / 0.5228 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006465/0.2514, allocations: 375.4 kB / 0.5231 GB, free: 33.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2515, allocations: 54.5 kB / 0.5232 GB, free: 33.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2517, allocations: 345.6 kB / 0.5235 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2517, allocations: 32.7 kB / 0.5235 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.2518, allocations: 157.4 kB / 0.5237 GB, free: 32.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2518, allocations: 60.44 kB / 0.5238 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.2519, allocations: 0 / 0.5238 GB, free: 32.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.2519, allocations: 343.1 kB / 0.5241 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2521, allocations: 100.9 kB / 0.5242 GB, free: 32.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.2523, allocations: 157.9 kB / 0.5243 GB, free: 32.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.2527, allocations: 277.6 kB / 0.5246 GB, free: 32.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2527, allocations: 0 / 0.5246 GB, free: 32.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000459/0.2531, allocations: 318.2 kB / 0.5249 GB, free: 32.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2532, allocations: 9.844 kB / 0.5249 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2532, allocations: 3.328 kB / 0.5249 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2532, allocations: 2.969 kB / 0.5249 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.2537, allocations: 122.2 kB / 0.525 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.2547, allocations: 3.711 MB / 0.5287 GB, free: 28.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.2549, allocations: 40.83 kB / 0.5287 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2549, allocations: 11.55 kB / 0.5287 GB, free: 28.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0001272/0.2551, allocations: 170.4 kB / 0.5289 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.2551, allocations: 28.66 kB / 0.5289 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.2557, allocations: 358.8 kB / 0.5292 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2557, allocations: 0 / 0.5292 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2557, allocations: 2.844 kB / 0.5292 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2557, allocations: 0 / 0.5292 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.256, allocations: 310.1 kB / 0.5295 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.256, allocations: 3.062 kB / 0.5295 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.2564, allocations: 111.8 kB / 0.5296 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2564, allocations: 6.406 kB / 0.5297 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2564, allocations: 9.734 kB / 0.5297 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009938/0.2574, allocations: 3.701 MB / 0.5333 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2574, allocations: 0 / 0.5333 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.2579, allocations: 379.3 kB / 0.5336 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.2579, allocations: 104.2 kB / 0.5337 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.258, allocations: 4 kB / 0.5337 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2581, allocations: 9.219 kB / 0.5337 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2582, allocations: 20.12 kB / 0.5338 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2582, allocations: 12.28 kB / 0.5338 GB, free: 24.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2584, allocations: 254 kB / 0.534 GB, free: 23.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 4 kB / 0.534 GB, free: 23.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.2587, allocations: 75.72 kB / 0.5341 GB, free: 23.94 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 (15): * Single equations (assignments): 9 * 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.0006447/0.2594, allocations: 0.9262 MB / 0.535 GB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007434/0.2601, allocations: 328.6 kB / 0.5353 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2601, allocations: 0 / 0.5353 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.2607, allocations: 208.6 kB / 0.5355 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.261, allocations: 60.58 kB / 0.5356 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2631, allocations: 2.024 MB / 0.5375 GB, free: 22.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2633, allocations: 0.7912 MB / 0.5383 GB, free: 21.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.2634, allocations: 83.94 kB / 0.5384 GB, free: 21.4 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2634, allocations: 0 / 0.5384 GB, free: 21.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.942/4.206, allocations: 11.9 MB / 0.55 GB, free: 18.11 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat