Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001778/0.001778, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002325/0.002325, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2242/0.2242, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3259, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002902/0.3288, allocations: 1.71 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3301, allocations: 0.7589 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.3301, allocations: 1.125 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.3304, allocations: 39.91 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3307, allocations: 63.88 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.3309, allocations: 60.69 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3311, allocations: 157.1 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.3311, allocations: 8.906 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.554e-05/0.3312, allocations: 64.3 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3314, allocations: 70.08 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3314, allocations: 9.188 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3316, allocations: 68.08 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.3317, allocations: 53.8 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.3318, allocations: 57.48 kB / 0.5337 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3321, allocations: 174.5 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.3321, allocations: 4 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3321, allocations: 3.938 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3321, allocations: 1.375 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006789/0.3328, allocations: 461.5 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3328, allocations: 13.62 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.3329, allocations: 48.23 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.3334, allocations: 71.27 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.3337, allocations: 223.4 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3337, allocations: 8.5 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3337, allocations: 9.859 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3342, allocations: 263.4 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3342, allocations: 0 / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.3342, allocations: 13.36 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.3343, allocations: 12.38 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.3348, allocations: 238.2 kB / 0.5351 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3359, allocations: 0.6571 MB / 0.5358 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.3364, allocations: 228.3 kB / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3365, allocations: 77.86 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3366, allocations: 1.344 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3366, allocations: 43.81 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3366, allocations: 0 / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006935/0.3373, allocations: 281.4 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.3374, allocations: 60.64 kB / 0.5364 GB, free: 8.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3376, allocations: 225.7 kB / 0.5366 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3376, allocations: 29.64 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.3377, allocations: 128.2 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.3378, allocations: 49.06 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3379, allocations: 39.84 kB / 0.5369 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.338, allocations: 332 kB / 0.5372 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.3382, allocations: 79.94 kB / 0.5373 GB, free: 8.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3384, allocations: 114.7 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.3388, allocations: 210 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3389, allocations: 0 / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005294/0.3394, allocations: 255.9 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3394, allocations: 5.25 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3394, allocations: 1.25 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3394, allocations: 1.281 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.3418, allocations: 265 kB / 0.5381 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.3516, allocations: 9.25 MB / 0.5471 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3519, allocations: 21.97 kB / 0.5471 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3519, allocations: 13.58 kB / 0.5472 GB, free: 14.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.3521, allocations: 145.6 kB / 0.5473 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3522, allocations: 19.5 kB / 0.5473 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.3527, allocations: 250.2 kB / 0.5475 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3527, allocations: 1.906 kB / 0.5476 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.3527, allocations: 0 / 0.5476 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3527, allocations: 0 / 0.5476 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.353, allocations: 242.3 kB / 0.5478 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.353, allocations: 0 / 0.5478 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.3547, allocations: 220.6 kB / 0.548 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3547, allocations: 0 / 0.548 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3547, allocations: 6.266 kB / 0.548 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008416/0.3631, allocations: 8.747 MB / 0.5565 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3632, allocations: 1.031 kB / 0.5565 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.3637, allocations: 287.9 kB / 0.5568 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.3638, allocations: 101 kB / 0.5569 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3638, allocations: 1.344 kB / 0.5569 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.364, allocations: 14.67 kB / 0.5569 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.3641, allocations: 27.42 kB / 0.557 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3642, allocations: 6.156 kB / 0.557 GB, free: 4.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.3644, allocations: 190.5 kB / 0.5571 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3644, allocations: 0 / 0.5571 GB, free: 4.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.3649, allocations: 64.5 kB / 0.5572 GB, free: 4.305 MB / 414.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009408/0.3659, allocations: 0.8419 MB / 0.558 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.368, allocations: 0.6021 MB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.368, allocations: 0 / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3694, allocations: 397.6 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3697, allocations: 45.05 kB / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.3733, allocations: 2.545 MB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3737, allocations: 0.7673 MB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.3741, allocations: 113.4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3743, allocations: 91.36 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3743, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4068, allocations: 10.24 MB / 0.5725 GB, free: 4.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.827, allocations: 8.234 kB / 0.5725 GB, free: 4.891 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1)