Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007164/0.0007165, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007262/0.0007262, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3066/0.3066, allocations: 43.54 MB / 314.6 MB, free: 8.66 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005712/0.0005713, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1142, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002485/0.1167, allocations: 1.676 MB / 444.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1182, allocations: 0.8545 MB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.1183, allocations: 4 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1185, allocations: 47.73 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1189, allocations: 119.4 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1191, allocations: 71.73 kB / 445.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.1195, allocations: 454 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.1196, allocations: 44.7 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1198, allocations: 139.3 kB / 446.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1201, allocations: 191.1 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1201, allocations: 12 kB / 446.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.1204, allocations: 131.7 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1205, allocations: 87.59 kB / 446.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1206, allocations: 81.52 kB / 446.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.1209, allocations: 311.3 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.121, allocations: 4 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.121, allocations: 0 / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.121, allocations: 4 kB / 447.1 MB, free: 8.758 MB / 382.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.0008572/0.1218, allocations: 0.5966 MB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1219, allocations: 8.031 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.122, allocations: 78.53 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.1221, allocations: 43.48 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1224, allocations: 278.4 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.1225, allocations: 29 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.1225, allocations: 35.98 kB / 448.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.1234, allocations: 0.5607 MB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1234, allocations: 0 / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.1234, allocations: 16 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.1235, allocations: 40.97 kB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.1244, allocations: 0.5815 MB / 449.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.1259, allocations: 1.175 MB / 450.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.1266, allocations: 376.1 kB / 450.9 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1268, allocations: 137.1 kB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.1269, allocations: 12.16 kB / 451 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1269, allocations: 38.84 kB / 451.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1269, allocations: 3.938 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009929/0.1279, allocations: 469.8 kB / 451.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1279, allocations: 59.36 kB / 451.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.1285, allocations: 449.6 kB / 452 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.1285, allocations: 29.7 kB / 452.1 MB, free: 3.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1287, allocations: 196.2 kB / 452.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.1287, allocations: 75 kB / 452.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.1287, allocations: 0 / 452.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.129, allocations: 350.8 kB / 452.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1292, allocations: 119.9 kB / 452.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.1294, allocations: 128.6 kB / 452.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.1297, allocations: 132.2 kB / 453 MB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1297, allocations: 4 kB / 453 MB, free: 2.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005687/0.1302, allocations: 356.8 kB / 453.4 MB, free: 2.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1303, allocations: 7.438 kB / 453.4 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1303, allocations: 7.922 kB / 453.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1303, allocations: 0 / 453.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.131, allocations: 159.9 kB / 453.6 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1952/0.3262, allocations: 5.517 MB / 459.1 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.3265, allocations: 45.88 kB / 459.1 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3265, allocations: 14.86 kB / 459.1 MB, free: 43.34 MB / 382.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.0001991/0.3267, allocations: 187.2 kB / 459.3 MB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3268, allocations: 41.06 kB / 459.4 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.3275, allocations: 466.8 kB / 459.8 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3276, allocations: 4.594 kB / 459.8 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3276, allocations: 0 / 459.8 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3276, allocations: 5.703 kB / 459.8 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3279, allocations: 377.9 kB / 460.2 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3279, allocations: 0 / 460.2 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.3285, allocations: 153.6 kB / 460.4 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3285, allocations: 2.938 kB / 460.4 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3286, allocations: 14.22 kB / 460.4 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.3301, allocations: 5.521 MB / 465.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3302, allocations: 3.953 kB / 465.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.3307, allocations: 456.7 kB / 466.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.3308, allocations: 118.9 kB / 466.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.3308, allocations: 1.688 kB / 466.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.331, allocations: 16.22 kB / 466.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3311, allocations: 26.89 kB / 466.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.3311, allocations: 16.75 kB / 466.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002845/0.3314, allocations: 329.3 kB / 466.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.3314, allocations: 0 / 466.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.3318, allocations: 110 kB / 466.9 MB, free: 37.36 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.0008404/0.3326, allocations: 1.022 MB / 468 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.3336, allocations: 407 kB / 468.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3336, allocations: 0 / 468.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.3343, allocations: 287.8 kB / 468.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3348, allocations: 89.69 kB / 468.7 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.3379, allocations: 2.674 MB / 471.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3382, allocations: 0.8536 MB / 472.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000227/0.3384, allocations: 84.41 kB / 472.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3385, allocations: 111.5 kB / 472.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3385, allocations: 0 / 472.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3606, allocations: 10.41 MB / 482.9 MB, free: 34.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.3608, allocations: 274.4 kB / 483.1 MB, free: 34.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.347, allocations: 0 / 483.1 MB, free: 34.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat