Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 94.19 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 45.91 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.000238, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002198/0.1288, allocations: 1.799 MB / 483.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1303, allocations: 1.033 MB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.1304, allocations: 0 / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.1306, allocations: 55.67 kB / 484.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1307, allocations: 75.72 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1311, allocations: 151.6 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1315, allocations: 335.3 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.1316, allocations: 53.06 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1319, allocations: 147.3 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1321, allocations: 167.3 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1321, allocations: 12 kB / 485.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.1326, allocations: 335.6 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.1327, allocations: 87.64 kB / 485.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.1328, allocations: 85.52 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.1332, allocations: 363.4 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1332, allocations: 3.938 kB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1332, allocations: 3.938 kB / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1332, allocations: 0 / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001013/0.1343, allocations: 0.6978 MB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1343, allocations: 8.031 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.237e-05/0.1344, allocations: 94.52 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.1348, allocations: 91.39 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.1352, allocations: 298.9 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1352, allocations: 36.94 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.1353, allocations: 44 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.1362, allocations: 0.6636 MB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1362, allocations: 0 / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.1363, allocations: 19.98 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.1363, allocations: 25 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.1372, allocations: 0.4956 MB / 488.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.1392, allocations: 1.531 MB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1397, allocations: 319.5 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1398, allocations: 11.94 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1398, allocations: 42.56 kB / 490.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.1398, allocations: 0 / 490.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001361/0.1412, allocations: 0.7483 MB / 491.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.1413, allocations: 114.9 kB / 491.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.1419, allocations: 0.5369 MB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.142, allocations: 29.7 kB / 492 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1422, allocations: 224 kB / 492.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.1423, allocations: 70.98 kB / 492.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1423, allocations: 4 kB / 492.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1424, allocations: 362.8 kB / 492.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1428, allocations: 168.1 kB / 492.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1432, allocations: 291.6 kB / 493.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.1437, allocations: 198 kB / 493.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1437, allocations: 7.938 kB / 493.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001083/0.1448, allocations: 0.5164 MB / 493.8 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1448, allocations: 8.062 kB / 493.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.141e-05/0.1449, allocations: 39.97 kB / 493.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1449, allocations: 4 kB / 493.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.1452, allocations: 47.91 kB / 493.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1452, allocations: 11.98 kB / 493.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.1455, allocations: 75.27 kB / 494 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.1456, allocations: 23.98 kB / 494 MB, free: 8.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.1458, allocations: 213.6 kB / 494.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1459, allocations: 43.44 kB / 494.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.1469, allocations: 467.6 kB / 494.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.1469, allocations: 7.984 kB / 494.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1469, allocations: 4 kB / 494.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1469, allocations: 7.984 kB / 494.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1476, allocations: 393.2 kB / 495.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-05/0.1476, allocations: 35.95 kB / 495.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1478, allocations: 35.97 kB / 495.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1478, allocations: 0 / 495.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1479, allocations: 8 kB / 495.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1479, allocations: 3.938 kB / 495.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1479, allocations: 4 kB / 495.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1489, allocations: 0.6535 MB / 495.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.149, allocations: 128.4 kB / 496 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.1491, allocations: 8 kB / 496 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.1494, allocations: 23.98 kB / 496 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.1495, allocations: 23.97 kB / 496.1 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.1495, allocations: 15.98 kB / 496.1 MB, free: 6.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.15, allocations: 387 kB / 496.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 496.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007124/0.1507, allocations: 131.9 kB / 496.6 MB, free: 5.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.1522, allocations: 1.382 MB / 498 MB, free: 4.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1533, allocations: 0.6925 MB / 498.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1533, allocations: 8 kB / 498.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1538, allocations: 484.3 kB / 499.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.1544, allocations: 109.9 kB / 499.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.16, allocations: 5.639 MB / 0.493 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1605, allocations: 0.8818 MB / 0.4939 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.1607, allocations: 91.28 kB / 0.494 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1609, allocations: 119.4 kB / 0.4941 GB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1609, allocations: 0 / 0.4941 GB, free: 11.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.1891, allocations: 11.82 MB / 0.5056 GB, free: 416 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/0.1895, allocations: 225 kB / 0.5059 GB, free: 172 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.207, allocations: 0 / 0.5059 GB, free: 172 kB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat