Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 92.36 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5651/0.5651, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005065, allocations: 12 kB / 431.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1471, allocations: 58.84 MB / 490.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003185/0.1503, allocations: 1.633 MB / 492 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1525, allocations: 0.8312 MB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1527, allocations: 8 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.153, allocations: 47.72 kB / 492.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.1534, allocations: 83.72 kB / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1538, allocations: 75.83 kB / 493 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.1542, allocations: 247.4 kB / 493.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1544, allocations: 52.69 kB / 493.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.1547, allocations: 115.5 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.155, allocations: 143.4 kB / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.155, allocations: 8 kB / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1555, allocations: 143.8 kB / 493.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1556, allocations: 83.7 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1558, allocations: 81.45 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.1564, allocations: 267.6 kB / 494.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1564, allocations: 4 kB / 494.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.154e-06/0.1564, allocations: 3.984 kB / 494.1 MB, free: 7.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1564, allocations: 4 kB / 494.1 MB, free: 7.035 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001412/0.1578, allocations: 0.5927 MB / 494.7 MB, free: 6.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.1579, allocations: 8.031 kB / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.1581, allocations: 78.53 kB / 494.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1582, allocations: 43.48 kB / 494.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.1587, allocations: 274.4 kB / 495.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.1588, allocations: 29 kB / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/0.1589, allocations: 39.98 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1603, allocations: 0.5529 MB / 495.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1603, allocations: 0 / 495.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.1604, allocations: 12 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/0.1605, allocations: 44.95 kB / 495.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.1621, allocations: 0.5854 MB / 496.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.1651, allocations: 1.195 MB / 497.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.1663, allocations: 384 kB / 498 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.1664, allocations: 4.188 kB / 498 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1664, allocations: 42.78 kB / 498 MB, free: 2.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 5.571e-06/0.1664, allocations: 0 / 498 MB, free: 2.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001754/0.1682, allocations: 478.5 kB / 498.5 MB, free: 2.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1683, allocations: 55.36 kB / 498.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.1691, allocations: 449.6 kB / 499 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.1691, allocations: 29.7 kB / 499 MB, free: 1.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1693, allocations: 238.7 kB / 499.2 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1695, allocations: 67 kB / 499.3 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1695, allocations: 8 kB / 499.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1697, allocations: 314.8 kB / 499.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.1702, allocations: 123.9 kB / 499.7 MB, free: 1.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.1706, allocations: 128.5 kB / 499.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.1713, allocations: 139.8 kB / 500 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1713, allocations: 4 kB / 500 MB, free: 0.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001171/0.1725, allocations: 321.3 kB / 0.4886 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1725, allocations: 4 kB / 0.4886 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1726, allocations: 0 / 0.4886 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1726, allocations: 0 / 0.4886 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.1741, allocations: 159.8 kB / 0.4887 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/0.5077, allocations: 5.507 MB / 0.4941 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.5083, allocations: 50.19 kB / 0.4942 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.5083, allocations: 12.69 kB / 0.4942 GB, free: 38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/0.5087, allocations: 194.3 kB / 0.4944 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.5088, allocations: 37.84 kB / 0.4944 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.5104, allocations: 468.5 kB / 0.4948 GB, free: 37.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5105, allocations: 2.25 kB / 0.4948 GB, free: 37.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5105, allocations: 0 / 0.4948 GB, free: 37.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5105, allocations: 3.547 kB / 0.4949 GB, free: 37.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.5113, allocations: 373 kB / 0.4952 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5114, allocations: 0.7969 kB / 0.4952 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.5128, allocations: 151.6 kB / 0.4954 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.5128, allocations: 2.625 kB / 0.4954 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.522e-05/0.5129, allocations: 8.172 kB / 0.4954 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.5159, allocations: 5.527 MB / 0.5008 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5159, allocations: 0.5625 kB / 0.5008 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.5172, allocations: 464.2 kB / 0.5012 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.5174, allocations: 116.5 kB / 0.5013 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.5175, allocations: 4.5 kB / 0.5013 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.5179, allocations: 16.34 kB / 0.5013 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5181, allocations: 18.3 kB / 0.5014 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.5181, allocations: 10.3 kB / 0.5014 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006541/0.5188, allocations: 339.8 kB / 0.5017 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5188, allocations: 1.562 kB / 0.5017 GB, free: 32.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006846/0.5195, allocations: 100.2 kB / 0.5018 GB, free: 32.01 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001739/0.5213, allocations: 1.029 MB / 0.5028 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.5236, allocations: 410.1 kB / 0.5032 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5237, allocations: 0 / 0.5032 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.5255, allocations: 285.7 kB / 0.5035 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.5263, allocations: 84.48 kB / 0.5035 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.5328, allocations: 2.646 MB / 0.5061 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.5333, allocations: 0.8541 MB / 0.507 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.5336, allocations: 115.3 kB / 0.5071 GB, free: 29.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5336, allocations: 0 / 0.5071 GB, free: 29.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.243/3.777, allocations: 20.42 MB / 0.527 GB, free: 26.42 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat