Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001082, allocations: 96.05 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 200.8 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004386, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002273/0.1285, allocations: 1.627 MB / 483.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1309, allocations: 1.633 MB / 484.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.131, allocations: 0 / 484.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1312, allocations: 47.78 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1315, allocations: 87.72 kB / 484.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.1321, allocations: 303.1 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.1325, allocations: 251.4 kB / 485.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.1326, allocations: 44.72 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1328, allocations: 115.5 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.133, allocations: 143.4 kB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.133, allocations: 8 kB / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008392/0.1339, allocations: 0.5461 MB / 486.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.134, allocations: 87.7 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.134, allocations: 77.52 kB / 486.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.1345, allocations: 399.3 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1345, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1345, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1345, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 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.0008987/0.1355, allocations: 0.6162 MB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1355, allocations: 11.97 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.232e-05/0.1356, allocations: 78.53 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.1357, allocations: 51.38 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.136, allocations: 274.5 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.136, allocations: 25 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.1361, allocations: 39.98 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.1369, allocations: 0.5607 MB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1369, allocations: 0 / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.137, allocations: 12 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.137, allocations: 48.91 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.1379, allocations: 0.5737 MB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.1396, allocations: 1.206 MB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.1402, allocations: 384.1 kB / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1403, allocations: 12.17 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1403, allocations: 30.75 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.1403, allocations: 0 / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009298/0.1413, allocations: 486.5 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1413, allocations: 51.41 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.1417, allocations: 449.6 kB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1418, allocations: 29.7 kB / 491.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1419, allocations: 184.4 kB / 492 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.142, allocations: 78.84 kB / 492 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.142, allocations: 4 kB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1421, allocations: 354.8 kB / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1424, allocations: 119.9 kB / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1426, allocations: 122.9 kB / 492.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1429, allocations: 139.8 kB / 492.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1429, allocations: 0 / 492.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005946/0.1435, allocations: 348.9 kB / 493.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1435, allocations: 8 kB / 493.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1435, allocations: 0 / 493.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1435, allocations: 0 / 493.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.1443, allocations: 155.9 kB / 493.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.1469, allocations: 5.52 MB / 498.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.1472, allocations: 43.47 kB / 498.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1472, allocations: 15.98 kB / 498.8 MB, free: 3.48 MB / 366.1 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.0002035/0.1474, allocations: 192.3 kB / 499 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.1475, allocations: 39.66 kB / 499.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000851/0.1483, allocations: 468 kB / 499.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1483, allocations: 0 / 499.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1483, allocations: 0 / 499.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1484, allocations: 4 kB / 499.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1488, allocations: 381.2 kB / 499.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1488, allocations: 0 / 499.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.1495, allocations: 155.8 kB / 0.4883 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1495, allocations: 4 kB / 0.4883 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1495, allocations: 4 kB / 0.4883 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.1522, allocations: 5.524 MB / 0.4937 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1522, allocations: 0 / 0.4937 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.1529, allocations: 462.8 kB / 0.4942 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1531, allocations: 116.7 kB / 0.4943 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.1531, allocations: 4 kB / 0.4943 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1533, allocations: 15.98 kB / 0.4943 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.1534, allocations: 19.97 kB / 0.4943 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1534, allocations: 8 kB / 0.4943 GB, free: 11.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.1538, allocations: 339.1 kB / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.1543, allocations: 143.8 kB / 0.4948 GB, free: 11.34 MB / 382.1 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.001245/0.1556, allocations: 1.106 MB / 0.4959 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1568, allocations: 423.4 kB / 0.4963 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1568, allocations: 0 / 0.4963 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.1577, allocations: 279.7 kB / 0.4965 GB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.1583, allocations: 81.39 kB / 0.4966 GB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.1623, allocations: 2.643 MB / 0.4992 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.1628, allocations: 0.8659 MB / 0.5 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.1631, allocations: 83.16 kB / 0.5001 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1633, allocations: 111.4 kB / 0.5002 GB, free: 5.672 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1633, allocations: 0 / 0.5002 GB, free: 5.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.29/0.4534, allocations: 11.65 MB / 0.5116 GB, free: 41.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.4536, allocations: 253.2 kB / 0.5119 GB, free: 40.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.629, allocations: 0 / 0.5119 GB, free: 40.88 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat